ILiveWatchEngineCreateNodeForPinnedVariable Method

Creates a live watch node for a given pinned variable, optionally overriding some of its properties.

Definition

Namespace: VisualGDBExtensibility.LiveWatch
Assembly: VisualGDBExtensibility (in VisualGDBExtensibility.dll) Version: 5.6.109.1 (5.6.109.4849)
C#
ILiveWatchNode CreateNodeForPinnedVariable(
	IPinnedVariable pinnedVariable,
	LiveWatchNodeOverrides overrides = default
)

Parameters

pinnedVariable  IPinnedVariable
Pinned variable that will be used to create a live watch node.
overrides  LiveWatchNodeOverrides  (Optional)
An optional structure providing overrides for name, type and unique ID.

Return Value

ILiveWatchNode
The live watch node created from the given pinned variable.

Remarks

The Live Watch plugins call this method when they want to create a live watch node that is linked to a regular code variable. E.g. the plugin may want to show the tick counter stored in the g_TickCount variable as Kernel Summary -> Tick Count. In that case, the Kernel Summary node, implemented by the plugin, would obtain a pinned variable object for g_TickCount, call this method, overriding the name to "Tick Count", and return the created node along with other children.

See Also