Debugger extension - Module name from IDebugMemoryContext2::GetInfo

Sajith 11 Reputation points
2022-03-31T17:33:39.937+00:00

I am trying to implement IDebugMemoryContext2::GetInfo method in our custom debugger extension.
This method gets called immediately after IDebugStackFrame2.GetDocumentContext.
Form the documentation, it is not clear what should this method return when called with enum_CONTEXT_INFO_FIELDS.CIF_MODULEURL flag.
Is the module url same as document moniker?

Is there a sample that implements IDebugMemoryContext2 and this method - GetInfo? I could not find a working debugger extension sample for VS2022.
I am currently getting 'Frame not in module' error when the debugger hits a breakpoint and trying to load source.
Any pointers on this would be really helpful.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,090 questions
{count} votes