Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

How to get current IDebugStackFrame2 in custom Debug Engine?

$
0
0

I'm developing my Debug Engine for a specific language package and faced with the problem I can't get current IDebugStackFrame2 also didn't find any event or notification on changing the frame.

I have implemented interface IDebugEventCallback2 and found out that I get the event with idce6f92d3-4222-4b1e-830d-3ecff112bf22 every time when I'm doing Step Into/OUT or changing the frame in the 'Call Stack' window.

Then, I tried to get the current frame from DTE using the following code: dte.Debugger.CurrentStackFrame

Unfortunately, it throws an exception.

So, does anyone have any ideas on how to get the current frame?


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>