Debugger Extension - Unable to load source in VS2022

Sajith 11 Reputation points
2022-03-26T17:12:24.757+00:00

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.
39,334 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.