ILiveWatchEngineLogException Method

Logs an exception, with full call stack and an additional hint, to the VisualGDB Diagnostics Console (if enabled).

Definition

Namespace: VisualGDBExtensibility.LiveWatch
Assembly: VisualGDBExtensibility (in VisualGDBExtensibility.dll) Version: 5.6.109.1 (5.6.109.4849)
C#
void LogException(
	Exception ex,
	string hint
)

Parameters

ex  Exception
Exception to log
hint  String
Hint that will be displayed along with the exception details

Example

C#
try
{
    MethodThatCanThrow();
}
catch (Exception ex)
{
    engine.LogException(ex, "failed to parse the thread list");
}

See Also