pub struct InvalidatedEvent {
pub areas: Option<Vec<InvalidatedAreas>>,
pub thread_id: Option<u64>,
pub stack_frame_id: Option<u64>,
}
Expand description
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 corresponding capability supportsInvalidatedEvent
is true.
Fields§
§areas: Option<Vec<InvalidatedAreas>>
Set of logical areas that got invalidated. This property has a hint characteristic: a client can only be expected to make a ‘best effort’ in honoring the areas but there are no guarantees. If this property is missing, empty, or if values are not understood, the client should assume a single value all
.
thread_id: Option<u64>
If specified, the client only needs to refetch data related to this thread.
stack_frame_id: Option<u64>
If specified, the client only needs to refetch data related to this stack frame (and the threadId
is ignored).
Trait Implementations§
Source§impl Clone for InvalidatedEvent
impl Clone for InvalidatedEvent
Source§fn clone(&self) -> InvalidatedEvent
fn clone(&self) -> InvalidatedEvent
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more