ILiveVariable Interface

Represents a single low-level live variable (a block of memory that is automatically read by VisualGDB on every update operation).

Definition

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

Remarks

Unlike the ILiveWatchNode interface, that represents a single user-visible node in the Live Watch window, this interface represents a single monitorred memory block (e.g. a prev/next pointer in a list node). Live Watch plugins should create live variables instead of reading the memory directly so that VisualGDB can combine multiple memory reading requests into one, and execute it with minimal latency, resulting in great performance improvement.

Properties

Address Specifies the target address of the variable.
Label Specifies the user-friendly name of the variable useful for debugging.
LastChangeTime Contains the last time (on the debugging host) when the variable was changed.
Size Specifies the size of the variable.
SuspendUpdating If set to true, the variable will not be automatically updated by VisualGDB.

Methods

GetValue Reads the value of the variable from memory or cache, depending on the value of mode.
SetValue Sets the value of the variable by writing the target memory.

See Also