EpicGamesExt / raddebugger

A native, user-mode, multi-process, graphical debugger.
MIT License
3.3k stars 169 forks source link

Hot reloading DLL no longer works -- uses old PDB? #315

Open karl-zylinski opened 2 hours ago

karl-zylinski commented 2 hours ago

I used to be able to hot reload a video game DLL and the debugger picking up the new PDB automatically. It just worked. But now it no longer seems to load the PDB for the new DLL.

What I do is this:

When I step into code that uses the new DLL, then I end up at garbage debug symbols, which hints to me that it is still using the old PDB.

karl-zylinski commented 2 hours ago

I investigated this a bit more, if I write the pdb with a new file each time, then it works. In the past, I think it used to somehow understand the pdb was new even when I overwrote the original one.

karl-zylinski commented 1 hour ago

I tried with old versions of the debugger and couldn't get it to work with those either. I might have been dreaming that this ever worked. So I guess this is a feature request rather than a bug report now.