We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f53282 commit fab52a4Copy full SHA for fab52a4
java/src/processing/mode/java/Debugger.java
@@ -22,6 +22,7 @@
22
23
import com.sun.jdi.*;
24
import com.sun.jdi.event.*;
25
+import com.sun.jdi.event.Event;
26
import com.sun.jdi.request.*;
27
28
import java.io.*;
@@ -661,7 +662,12 @@ public void run() {
661
662
// disallow stepping into invisible lines
663
if (!locationIsVisible(se.location())) {
664
// TODO: this leads to stepping, should it run on the EDT?
- stepOutIntoViewOrContinue();
665
+ javax.swing.SwingUtilities.invokeLater(new Runnable() {
666
+ @Override
667
+ public void run() {
668
+ stepOutIntoViewOrContinue();
669
+ }
670
+ });
671
}
672
673
0 commit comments