-
Notifications
You must be signed in to change notification settings - Fork 34.8k
Closed
Labels
debugDebug viewlet, configurations, breakpoints, adapter issuesDebug viewlet, configurations, breakpoints, adapter issuesfeature-requestRequest for new features or functionalityRequest for new features or functionalityverification-neededVerification of issue is requestedVerification of issue is requestedverifiedVerification succeededVerification succeeded
Milestone
Description
A new InvalidatedEvent
has been added to the DAP:
vscode/src/vs/workbench/contrib/debug/common/debugProtocol.d.ts
Lines 378 to 393 in 6781d16
/** Event message for 'invalidated' event type. | |
This event signals that some state in the debug adapter has changed and requires that the client needs to re-render the data snapshot previously requested. | |
Debug adapters do not have to emit this event for runtime changes like stopped or thread events because in that case the client refetches the new state anyway. But the event can be used for example to refresh the UI after rendering formatting has changed in the debug adapter. | |
This event should only be sent if the debug adapter has received a value true for the 'supportsInvalidatedEvent' capability of the 'initialize' request. | |
*/ | |
export interface InvalidatedEvent extends Event { | |
// event: 'invalidated'; | |
body: { | |
/** Optional set of logical areas that got invalidated. If this property is missing or empty, a single value 'all' is assumed. */ | |
areas?: InvalidatedAreas[]; | |
/** If specified, the client only needs to refetch data related to this thread. */ | |
threadId?: number; | |
/** If specified, the client only needs to refetch data related to this stack frame (and the 'threadId' is ignored). */ | |
stackFrameId?: number; | |
}; | |
} |
This feature request asks for handling the event in VS Code and sending the corresponding supportsInvalidatedEvent
property in the initialize
request.
Metadata
Metadata
Assignees
Labels
debugDebug viewlet, configurations, breakpoints, adapter issuesDebug viewlet, configurations, breakpoints, adapter issuesfeature-requestRequest for new features or functionalityRequest for new features or functionalityverification-neededVerification of issue is requestedVerification of issue is requestedverifiedVerification succeededVerification succeeded