ILiveWatchFormatter Interface

Translates the raw value (typically coming from LiveVariableValue) to a user-friendly value or back.

Definition

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

Properties

ID Contains the unique ID of the formatter saved in preferences.
Name Contains the user-friendly name of the formatter shown in the view mode selector.

Methods

Compare Checks whether the given value (typically coming from GetValue(LiveVariableQueryMode)) matches a live watch breakpoint created by the user.
FormatValue Translates the raw variable value into a user-friendly string. Used when showing the valeu in the Live Watch window.
Parse Converts a user-entered string to the value that can be written to memory. Used when editing the live watch values via GUI.
ToNumber Converts the raw variable value into an instance of double. If you would like to avoid losing precision, use the ToNumber2(Byte) instead.

See Also