How to start an extension project in visual studio to capture Debug.Start and Debug.StartWithoutDebugging events #411
-
write visual studio extension how to capture Debug.Start and Debug.StartWithoutDebugging events..someone help me create a simple project to get started thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
What I did is this:
DebuggerMode is an enum in the toolkit with the values:
Don't forget to unregister the event handler when you no longer need it
|
Beta Was this translation helpful? Give feedback.
-
I would recommend creating an object of this class from within the InitializeAsync() that you already have in your package. |
Beta Was this translation helpful? Give feedback.
-
I want to write an extension for visual studio that captures the metrics (time, size and defect) of the Personal Software Process (PSP) as I would start... thanks a lot in advance .. |
Beta Was this translation helpful? Give feedback.
What I did is this:
register the class as event handler
hr = m_debugger.AdviseDebuggerEvents(this, out m_Debuggercookie);
get the initial value of the debugger 'state'