Open Nowaker opened 2 years ago
This might be possible, but it probably won't be trivial. Right now, it's an all-or-nothing deal because the debugger is unable to determine whether an exception will be rescued at the moment the exception gets raised. One possible solution is for the debugger itself to rescue the exception at a stack level above the application. I'll look into it.
@castwide If it's not trivial, I'd suggest a simple checkbox to pause on exceptions (current behavior) or not to pause (new behavior).
That checkbox should already be available. If you don't see it, you might be using an older version of the readapt
gem (current version is 1.4.3).
Your environment
vscode-ruby
version: v0.28.1useLanguageServer
is true in your configuration?) yesExpected behavior
Debugger pauses on breakpoints I pick only.
Actual behavior
Debugger pauses on any
raise
. I do not want that. I can continue but it breaks again on anotherraise
. Which is endless.Feature request
Like in Node.js - let me choose whether debugger should pause on exceptions, and which exceptions (caught / uncaught):