Notification that the given breakpoint has been hit in the specified thread. Allows this listener to vote to determine if the given thread should be suspended in response to the breakpoint. If at least one listener votes to
SUSPEND
, the thread will suspend. If there are no votes to suspend the thread, there must be at least one
DONT_SUSPEND
vote to avoid the suspension (resume). If all listeners vote
DONT_CARE
, the thread will suspend by default.
The thread the breakpoint has been encountered in is now suspended. Listeners may query thread state and perform evaluations. All subsequent breakpoints in this thread will be ignored until voting has completed.
@param thread Java thread
@param breakpoint Java breakpoint
@return whether the thread should suspend or whether this listenerdoesn't care - one of
SUSPEND
,
DONT_SUSPEND
, or
DONT_CARE
@since 3.0