提交 b38e0521 编写于 作者: A Andre Weinand

add 'allThreadsStopped' attribute to StoppedEvent

上级 a1ea4c66
......@@ -62,7 +62,7 @@ declare module DebugProtocol {
}
/** Event message for "stopped" event type.
The event indicates that the execution of the debugee has stopped due to a break condition.
The event indicates that the execution of the debuggee has stopped due to a break condition.
This can be caused by a break point previously set, a stepping action has completed or by executing a debugger statement.
*/
export interface StoppedEvent extends Event {
......@@ -73,11 +73,16 @@ declare module DebugProtocol {
threadId?: number;
/** Additional information. E.g. if reason is 'exception', text contains the exception name. */
text?: string;
/** 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.
**/
allThreadsStopped?: boolean;
};
}
/** Event message for "exited" event type.
The event indicates that the debugee has exited.
The event indicates that the debuggee has exited.
*/
export interface ExitedEvent extends Event {
body: {
......@@ -500,7 +505,7 @@ declare module DebugProtocol {
/** Available filters for the setExceptionBreakpoints request. */
exceptionBreakpointFilters?: [
{
/** The internal ID of the filter. This value is passed in the setExceptionBreakpoints request. */
/** The internal ID of the filter. This value is passed to the setExceptionBreakpoints request. */
filter: string,
/** The name of the filter. This will be shown in the UI. */
label: string,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册