File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
java/debugger.jpda.truffle/src/org/netbeans/modules/debugger/jpda/truffle Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments