-
Notifications
You must be signed in to change notification settings - Fork 23
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
Integrate debug with purpose #182
Conversation
d9c7ab8
to
b71cd71
Compare
This change appears to have broken the With the
But with the integration, I get an infinite loop of purpose--debug functions:
|
But it looks like you are debugging debug? |
@bcc32 I will look into this, but please provide a bit more details how to reproduce the error - what steps exactly do I need to perform? Don't know how to translate "invoking the debugger" into actual actions, I don't think you meant |
Ah, sorry for my unclear report.
No, I was trying to debug
Try defining the following command:
And then When you invoke |
Cool, #184 appears to work for me. I still see the purpose stuff show up, but it doesn't recurse, and eventually continues on to the functions called by the entry point. |
I reverted this PR for now (in 06f727e) |
debug
supplies its own display actions topop-to-buffer
in order to reuse a window, which usually isn't what we want to do when there are multiple split windows, some of which maybe too small for a debug backtrace buffer. This PR hands the control of window picking back to purpose.