Conversation
Requires protocol version 2.60
|
@lambdageek Could you provide some guidance about how to get the applying ModuleMirror? The way I test hot reload is by 1. send the delta to a debug session frontend implement, 2. then pass them to ApplyChanges method with a class member which is a SoftDebuggerSession instance. This workflow is not triggered by debug event, I send the delta through named pipe. Not finding public ways to get ModuleMirror, currently I add a custom method to SoftDebuggerSession to search current loaded AssemblyMirror for the applying one (with the assembly name that I send through named pipe). Though this workflow worked in my test case, I'm not sure if it is the right way to retrieve the ModuleMirror, since I have to modify the debugger-lib source codes. |
|
@AlexeiNaabal I'm not a debugger-libs expert. However, I think you get a ModuleMirror by calling So something like |
Thanks for your guidance, I found what I've missed immediately :) In fact I can at least access the |
Related mono/mono Mono.Debugger.Soft PR: mono/mono#20889
Related dotnet/runtime PR: dotnet/runtime#49043
Contributes to dotnet/runtime#44806