Issues with "long term debugging" for Rails - Attached with rdbg
I have a set of issues, probably related. If not, I can file separate issues.
When debugging rails application, I do the following:
- run the application with rdbg -O -n -c -- bin/rails server -p 3000
- set some breakpoints in vscode
- attach the debugger in vscode
- reach the breakpoint in app
- breakpoint correctly fires and vscode pops up
But now:
- if I add a breakpoint, it doesn't work
- if I remove a breakpoint, it still fires
I have to restart app and reattach debugger. Desired behaviour would be, that this "adjusts automatically". Is this a known limitation of how rdbg works or is that some problem on my side? Thanks
Hmm, it looks like an unexpected behavior. Could you show us the sample program to reproduce this problem?
Hm, just created a fresh new test app, and that works correctly with the same settings of vscode, extensions, ... Unfortunately the one I'm working on is not open source yet, so I can't provide it. If you have any idea how to debug, pls let know. If not, you can close. Thanks
I see. This is the first time I've seen this issue.
I leave this ticket open. Please let us know when you can reproduce the problem. Thank you.