mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-26 11:20:54 +00:00
Fixed AS3 Debugging P-code inside nested functions
Fixed AS3 Debugging - show (and click through) proper call stack
This commit is contained in:
@@ -772,6 +772,10 @@ public class DecompiledEditorPane extends DebuggableEditorPane implements CaretL
|
||||
}
|
||||
|
||||
public void gotoMethod(int methodId) {
|
||||
gotoMethod(methodId, null);
|
||||
}
|
||||
|
||||
public void gotoMethod(int methodId, Runnable afterHandler) {
|
||||
Highlighting tm = Highlighting.searchIndex(highlightedText.getMethodHighlights(), methodId);
|
||||
if (tm != null) {
|
||||
int pos = 0;
|
||||
@@ -792,6 +796,9 @@ public class DecompiledEditorPane extends DebuggableEditorPane implements CaretL
|
||||
if (fpos <= getDocument().getLength()) {
|
||||
setCaretPosition(fpos);
|
||||
}
|
||||
if (afterHandler != null) {
|
||||
afterHandler.run();
|
||||
}
|
||||
}
|
||||
}, 100);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user