Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Wishlist: clearing current breakpoint #117

Open
timholy opened this issue Jun 9, 2016 · 2 comments
Open

Wishlist: clearing current breakpoint #117

timholy opened this issue Jun 9, 2016 · 2 comments

Comments

@timholy
Copy link
Member

timholy commented Jun 9, 2016

It would be lovely if enable(), disable(), and remove() worked on the current breakpoint. Although those names are pretty generic, so perhaps some global thisbp could be defined?

@Keno
Copy link
Member

Keno commented Jun 9, 2016

What's the current breakpoint? The breakpoint that was last hit?

@timholy
Copy link
Member Author

timholy commented Jun 9, 2016

Yes (before you do any stepping.)

Use scenario: let's say I set a breakpoint then run some code. The breakpoint gets hit and I break into the debugger. I might want to examine a couple of local variables and then I decide I don't need that breakpoint anymore. It would be nice to be able to clear it with a single command. AFAICT currently I have to break out of Gallium to clear the breakpoint.

I should also confess that I haven't played with this a lot yet, because I've gotten segfaults pretty regularly with breakpoints. I should be more diligent about reporting them, but the fact that I so often use the debugger while altering pretty low-level stuff in base julia means I never know whether it's my own fault.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants