raddebugger icon indicating copy to clipboard operation
raddebugger copied to clipboard

Source file paths can "become wrong" when using breakpoints and can't be fixed even when specifying source file replacement

Open SJBarras opened this issue 4 months ago • 1 comments

At some point during development (maybe after some project directory changes?) raddebugger was no longer able to properly find my source files. Trying to create new projects didn't solve the issue. It would insert duplicated or incorrect portions of the path to the actual path to the source file at the start.

Even setting a breakpoint in the correct file would lead it to try and load the wrong path, and finding alternative would not stick or bring up the breakpoint properly.

Additionally, I tried both a pre-compiled release build and building from source with no change in behavior.

The only fix was to delete %appdata%/raddebugger

Video example of issue: https://github.com/user-attachments/assets/050b4d0d-516b-4561-8b26-0d923d6d1ba6

SJBarras avatar Aug 08 '25 23:08 SJBarras

This is because of the File Path Map settings you have currently. I will use this issue as a reminder to make this system a bit better, to avoid confusing situations like this, but if this ever happens, you'll want to just clear out any old/bad mappings in the File Path Map tab.

ryanfleury avatar Aug 11 '25 17:08 ryanfleury