entlicher opened a new pull request #2643:
URL: https://github.com/apache/netbeans/pull/2643


   There are two important changes:
   1) We request a combination of Java and guest language frames from Truffle 
via `DebuggreSession.setShowHostStackFrames`, when available.
   2) When suspended in Java code, we search for guest language frames 
underneath via `DebuggerSession.suspendHere`, when available and when Truffle 
backend was installed.
   
   This functionality is available on GraalVM 20.3 and newer only.
   In order to intercept the guest language frames from within the 
`DebuggerSession.suspendHere` call, we need to intercept a breakpoint event 
from a breakpoint submitted in `onSuspend` callback. This is why we're adding 
`Operator.addEventInterceptor`.
   
   Since we're adding guest language frames always when they're available, even 
when suspended in Java code, we need an explicit way how to uncover all the 
underlying Java frames, when necessary. This is why we're adding `Show All Host 
Frames` context action on threads with guest frames.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to