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?