Debugger extension - Module name from IDebugMemoryContext2::GetInfo
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.