-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
BreakpointWidget: Allow breakpoints to be toggled between enable/disable #9542
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.
Do you mind adding ss.imbue
in BreakPoints::GetStrings
and BreakPoints::AddFromStrings
as well? Otherwise, LGTM.
Added `ToggleBreakPoint` to both interface BreakPoints/MemChecks. this would allow us to toggle the state of the breakpoint. Also the TMemCheck::is_ranged is not longer serialized to string, since can be deduce by comparing the TMemCheck::start_address and TMemCheck::end_address
Added a context menu, for when a breakpoint is right-clicked Removed the `itemClicked` behavior, since it would clash with the context menu
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
Tested and appears to work. |
I don't know how strict we are with things, but there's a typo in the commit - Allow to disable/enable from the BreakpoinWidget |
@dolphin-emu-bot rebuild |
Fixes comma separated hex values caused by locale |
This PR add a way to disable/enable breakpoints at runtime, by adding a context menu that let you toggle between the two state.
Also, added a
Go to
action, that let you go to breakpoint address, this action is only added when the breakpoint is a instruction breakpoint.I removed the
itemClicked
listener since it was replaced with the context menuGo to
action.