Skip to content

Commit a39d64a

Browse files
committed
Logging out time to doInitDebuggerRemoteService
1 parent 6268481 commit a39d64a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

java/debugger.jpda.truffle/src/org/netbeans/modules/debugger/jpda/truffle/TruffleDebugManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ private synchronized void initLoadBP() {
9999
- as of GraalVM 25.0.1 it is:
100100
- [this one](https://github.com/oracle/graal/blob/05ec02567a77a30cc41b8ad9174de0dc5737ceaf/sdk/src/org.graalvm.polyglot/src/org/graalvm/polyglot/Engine.java#L843)
101101
*/
102-
debugManagerLoadBP = MethodBreakpoint.create(POLY_IMPL_CLASS, POLY_IMPL_BUILD_METHOD);
102+
debugManagerLoadBP = MethodBreakpoint.create(ENGINE_CLASS, "finishEngineBuild");
103103
debugManagerLoadBP.setBreakpointType(MethodBreakpoint.TYPE_METHOD_ENTRY);
104104
debugManagerLoadBP.setHidden(true);
105105

@@ -234,7 +234,7 @@ public void propertyChange(PropertyChangeEvent evt) {
234234
* We must not keep the method exit breakpoint active as it causes a significant performance degradation.
235235
*/
236236
private void handleJustBuiltEngine(final JPDADebugger debugger, JPDAThread onThread) {
237-
MethodBreakpoint builderExitBreakpoint = MethodBreakpoint.create(ENGINE_BUILDER_CLASS, "build");
237+
MethodBreakpoint builderExitBreakpoint = MethodBreakpoint.create(ENGINE_CLASS, "finishEngineBuild");
238238
builderExitBreakpoint.setBreakpointType(MethodBreakpoint.TYPE_METHOD_EXIT);
239239
builderExitBreakpoint.setThreadFilters(debugger, new JPDAThread[]{onThread});
240240
builderExitBreakpoint.setSuspend(JPDABreakpoint.SUSPEND_EVENT_THREAD);

0 commit comments

Comments
 (0)