Skip to content

Commit

Permalink
Use Frame, not FrameSlot as a trigger of debugging of existing Engines.
Browse files Browse the repository at this point in the history
  • Loading branch information
entlicher committed Jan 22, 2021
1 parent 5ccd21d commit 9dad8b4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public class TruffleDebugManager extends DebuggerManagerAdapter {
private static final String ENGINE_CLASS = "org.graalvm.polyglot.Engine";
private static final String ENGINE_BUILDER_CLASS = "org.graalvm.polyglot.Engine$Builder";
// Breakpoint on this class triggers search of existing engines
private static final String EXISTING_ENGINES_TRIGGER = "com.oracle.truffle.api.frame.FrameSlot";
private static final String EXISTING_ENGINES_TRIGGER = "com.oracle.truffle.api.frame.Frame";

private JPDABreakpoint debugManagerLoadBP;
private static final Map<JPDADebugger, Boolean> haveExistingEnginesTrigger = new WeakHashMap<>();
Expand Down

0 comments on commit 9dad8b4

Please sign in to comment.