Class StoppedEvent.EventBody
java.lang.Object
com.oracle.truffle.tools.dap.types.JSONBase
com.oracle.truffle.tools.dap.types.StoppedEvent.EventBody
- Enclosing class:
StoppedEvent
-
Method Summary
Modifier and TypeMethodDescriptionstatic StoppedEvent.EventBodybooleanIf 'allThreadsStopped' is true, a debug adapter can announce that all threads have stopped.The full reason for the event, e.g.A value of true hints to the frontend that this event should not change the focus.The reason for the event.getText()Additional information.The thread which was stopped.inthashCode()setAllThreadsStopped(Boolean allThreadsStopped) setDescription(String description) setPreserveFocusHint(Boolean preserveFocusHint) setThreadId(Integer threadId)
-
Method Details
-
getReason
The reason for the event. For backward compatibility this string is shown in the UI if the 'description' attribute is missing (but it must not be translated). Values: 'step', 'breakpoint', 'exception', 'pause', 'entry', 'goto', 'function breakpoint', 'data breakpoint', etc. -
setReason
-
getDescription
The full reason for the event, e.g. 'Paused on exception'. This string is shown in the UI as is and must be translated. -
setDescription
-
getThreadId
The thread which was stopped. -
setThreadId
-
getPreserveFocusHint
A value of true hints to the frontend that this event should not change the focus. -
setPreserveFocusHint
-
getText
Additional information. E.g. if reason is 'exception', text contains the exception name. This string is shown in the UI. -
setText
-
getAllThreadsStopped
If 'allThreadsStopped' is true, a debug adapter can announce that all threads have stopped. - The client should use this information to enable that all threads can be expanded to access their stacktraces. - If the attribute is missing or false, only the thread with the given threadId can be expanded. -
setAllThreadsStopped
-
equals
-
hashCode
public int hashCode() -
create
-