Debugger Extension - Unable to load source in VS2022

Sajith 6 Reputation points

We are trying to update a debugger extension to VS2022. Debugger works fine in VS2019.
But after updating to VS2022, when execution breaks at a breakpoint, we don't get a call to IVsProject3.OpenItem to open the file.
So this results in showing 'Frame not in module' error.

IDebugStackFrame2 methods - GetDocContext and GetCodeContext get called on the debugger side and these are processed correctly,
document moniker is passed correctly.

But after this, we get a call to IVsProject3.OpenItem in VS2019 and not in VS2022.

Is there a new requirement for debugger extension in VS2022, any new interface that needs to be implemented?
Because IVsProject3.OpenItem is not getting called to open the source file, is there anything that additionally needs to be implemented or handled in the
Project, Debugger or Language Service?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
32,811 questions
{count} votes