I'm developing a visual studio extension and now I'm facing a problem:
How do I subscribe to a Brake Point, i.e. every time the debugger catches the Brake Point, I would like to perform some action.
I can split this single problem into 2 problems:
1. How do I fire a function without pressing anything (I understand that the event should do this)
2. What function should I call to see the breakpoints (make my function fire)
(Don't see any reason to put any code because this is a HOWTO question and for real I don't have what to show)
Thanks for any help!!
You can use DTE.Events.DebuggerEvents and DTE.Debugger to receive notifications of a break point and get information about it.