Is there a listener that notifies when a breakpoint is reached?

Answered

I found some listeners something like "XBreakPointListener", "XDebuggerManagerListener", "XDebugSessionListener", but I want to know if there is some listener when the code reached to a breakpoint. I couldn't find it.

0
1 comment
  1. XBreakpointListener: This listener allows you to track changes to breakpoints, such as when a breakpoint is added, removed, or modified.

  2. XDebugSessionListener: This listener provides events related to the lifecycle of a debugging session, such as when a debug session is started, paused, or terminated.  UPSers Login

  3. XDebuggerManagerListener: This listener enables you to listen for changes in the debugger manager, including when a debugging session is created or disposed of.

While there isn't a direct listener specifically triggered when the code reaches a breakpoint, you can leverage these listeners in combination with other debugging features to achieve the desired behavior.

0

Please sign in to leave a comment.