-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
(feat) add conditional breakpoints #4801
(feat) add conditional breakpoints #4801
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm,
needs nightly fmt
Why not adding a h to toggle help that would take more space, but could be collapsable ?
I guess that makes sense
sgtm! |
Wanted to do smth similar to vim-which-key help modal that would pop up over the debugger using contexts, but that was doing some underflow and not sure why. So it's resizing the main window to leave some space for the help footer and collapse on |
* fmt: abigens * Pass by reference when patching Hardhat selector rebase master
Seems like the conflicts doesn't resolve after a rebase |
@mattsse seems to be good now! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, ty
@mattsse there have been a conflict fail, which is why you had to put the trailing "_" to make clippy happy here: https://github.com/iFrostizz/foundry/blob/556e0b4580f92a7f4f079d536416f33c695faae4/ui/src/lib.rs#L369-L382 |
Motivation
Implementing @mds1 's ideas about extending breakpoints, ref: #4679 (comment)
Changes
vm.breakpoint("a", true)
to switch on andvm.breakpoint("a", false)
to switch off)['<char>]: goto breakpoint
notice on debugger footerAbout the notice
It's getting somewhat big and I cannot see the whole footer (about 2/3 currently) at once. Why not adding a
h
to toggle help that would take more space, but could be collapsable ?