Closed rockorequin closed 5 years ago
@rockorequin Am I right, that debugger should stop on the breakpoint after refreshing the page in a browser, but it wasn't?
Yes, the debugger should stop on the breakpoint. But I think it freezes before even that point, because none of the log messages you'd expect to see prior to hitting the breakpoint appear. Also, if I go to another page where there isn't a breakpoint to hit, that page never loads.
@rockorequin I managed to reproduce it
@rockorequin @thestelz Could you please check debase gem version from this repo: https://github.com/ViugiNick/debase?
@ViugiNick Thanks, debase from that repo looks like it fixes the problem.
Just a side note: Had a similar behavior with VSCode 1.36.1 and ruby-debug-ide 0.7.0, debase 0.2.3 After a successful break point cycle of stepping in and continuing the execution, a second break point cycle was not possible anymore. The server stopped responding completely (happened with Puma and Webrick). Only chance was to disconnect the debugger. Debase from @ViugiNick repo fixes the problem for me as well. :) But there is another issue: When you start the debugger and have a disabled breakpoint, once you connect to the debugger, the server won't start. That means right now: when you connect with your IDE to the debugger, make sure the break point (just tested with one) is active or no break points registered at all.
@iggycoder Sound like a problem on the vs code plugin side. Is it possible to log verbose debugger information somehow in VSCode?
@rockorequin @thestelz Published a 0.2.4 debase version, this issue should be resolved there
@ViugiNick Thanks! 0.2.4 is working fine.
@ViugiNick I was using the 0.2.3
and 0.2.4
versions with no issues. I think it's good to go.
@rockorequin Could you please close the issue?
I have a Netbeans 11 / Rails 5.0.2 / ruby-debug-ide 0.7.0 project.
I find that with debase 0.2.3, the debugger hangs with this sequence:
If there is no breakpoint, the page loads correctly multiple times.
This is a regression, because debase 0.2.3-beta5 doesn't have this problem.