ILiveWatchNode Interface

Represents a single node displayed in the Live Watch window.

Definition

Namespace: VisualGDBExtensibility.LiveWatch
Assembly: VisualGDBExtensibility (in VisualGDBExtensibility.dll) Version: 5.6.109.1 (5.6.109.4849)
C#
public interface ILiveWatchNode : IDisposable
Implements
IDisposable

Remarks

Live Watch plugins typically implement this interface directly for virtual nodes (e.g. Threads) or call CreateNodeForPinnedVariable(IPinnedVariable, LiveWatchNodeOverrides) for nodes linked to physical variables in the debugged executable.

Properties

Capabilities Returns the list of node's capabilities (e.g. whether it can be plotted and whether it can have children).
Location Returns the location of the node (address + file:line) that will be used in various 'Go to' commands.
Name Initial node user-friendly name of the node.
RawType Node type as shown in the Type column of the Live Watch window.
UniqueID Unique ID of the node used to remember preferences for this node between debugging sessions.

Methods

GetChildren Creates and returns the list of the child nodes for the node.
SetSuspendState Applies the suspend state of the node (i.e. whether it's visible in the list, plotted, expanded, or any of its children are visible).
SetValueAsString Changes the node value when the user edited it in the Live Watch window.
UpdateState Returns the current value of the node, and also checks whether the node name, type or children have changed.

See Also