Hi all! I want this (Print message string)
get here
private void DebuggerEvents_OnEnterBreakMode(dbgEventReason Reason, ref dbgExecutionAction ExecutionAction)
{
//if(Reason == dbgEventReason.dbgEventReasonBreakpoint)
//{
Breakpoint bp = _applicationObject.Debugger.BreakpointLastHit;
if(bp.ConditionType == dbgBreakpointConditionType.dbgBreakpointConditionTypeWhenTrue)
{
if(bp.Condition.Contains("[ClearOutputWindow]"))
{
Window w = (Window)_applicationObject.Windows.Item(EnvDTE.Constants.vsWindowKindOutput);
OutputWindow ow = (OutputWindow)w.Object;
ow.ActivePane.Clear();
}
}
//}
}but bp object don't have similar property.