-
-
Notifications
You must be signed in to change notification settings - Fork 329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't set catchpoint in .byebugrc #92
Comments
Hi @torbiak ! Thanks for the report, not only you spotted a bug but two of them. I'll open a separate issue for the other problem you're experiencing. Hope to have a look into this soon. |
Related to #92. Catch command is not allow anymore in control mode. It was broken and I don't think it's worth fixing it. When loading the init script, there's not an available context with associated file/line/binding so we can not check whether the class to be catched is defined or not. I can think of some workarounds but this is exactly how "set post_mortem" is meant to be used so I'm just banning it.
@torbiak I've decided to just not allow the I'm closing this, but feel free to continue the discussion or reopen this if you don't agree. |
Cool. I totally agree. As I mentioned I only wanted to do this as a temporary workaround for the up/down issue in post-mortem. I should have emphasized that as being the main issue. Thanks. |
👍 |
I want to set a catchpoint for
Exception
in.byebugrc
, but when I addcatch Exception
to the init file I get the following exception:I want to set the default catchpoint because in post-mortem mode I can't navigate the stack:
where
prints out multiple frames, butup
/down
always say "Can't navigate beyond the newest/oldest frame".I'm running ruby 2.1.4p265 and byebug 3.5.1.
The text was updated successfully, but these errors were encountered: