ILiveWatchFormatter2 Interface

Extends the ILiveWatchFormatter with a method that allows getting the raw scalar value without any loss of precision.

Definition

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

Properties

ID Contains the unique ID of the formatter saved in preferences.
(Inherited from ILiveWatchFormatter)
Name Contains the user-friendly name of the formatter shown in the view mode selector.
(Inherited from ILiveWatchFormatter)

Methods

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

See Also