Samsung / netcoredbg

NetCoreDbg is a managed code debugger with MI interface for CoreCLR.
MIT License
743 stars 98 forks source link

If debugged assembly is unloaded and then reloaded, breakpoints will not be hit #141

Open ppebb opened 9 months ago

ppebb commented 9 months ago

I have an assembly loaded by another process which I am debugging. Breakpoints are hit perfectly fine, but when the program unloads my assembly, and then later reloads it, breakpoints are no longer hit.

Symbols are properly loaded every time, so that is not the issue, but it does show "breakpoint modified" image

As I cannot access the cli while the debugged program is running, I cannot test another breakpoint, but from within an IDE I cannot place any new breakpoints either.

gbalykov commented 9 months ago

Can you try to remove breakpoint after assembly unload and set it again to the same place?

NetCoreDbg currently doesn't support assembly unload.