ILiveWatchEngineLogException Method
Logs an exception, with full call stack and an additional hint, to the VisualGDB Diagnostics Console (if enabled).
Namespace: VisualGDBExtensibility.LiveWatchAssembly: VisualGDBExtensibility (in VisualGDBExtensibility.dll) Version: 5.6.109.1 (5.6.109.4849)
void LogException(
Exception ex,
string hint
)
Parameters
- ex Exception
- Exception to log
- hint String
- Hint that will be displayed along with the exception details
try
{
MethodThatCanThrow();
}
catch (Exception ex)
{
engine.LogException(ex, "failed to parse the thread list");
}