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
add Break On Hit and Log On Hit for instruction breakpoints #8940
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.
clang-format should be used to fix the formatting issues.
This PR reminds me of #6057
|
Feel free to combine those two commits; there is very little value in having that second commit stick around as an individual one. |
|
How do I do that? |
|
Assuming command line (like git bash or similar), you run |
|
Alright, that should do it. |
|
Commit message seems to be missing an |
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.
c5ada79
to
7f6a429
Compare
|
Fixed commit message and changed 'p' to 'b'. |
| @@ -308,7 +316,11 @@ void BreakpointWidget::OnSave() | |||
|
|
|||
| void BreakpointWidget::AddBP(u32 addr) | |||
| { | |||
| PowerPC::breakpoints.Add(addr); | |||
| AddBP(addr, false, true, true); | |||
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.
Is there a reason it's logging by default? Is this method still used? If not, it should be removed.
There is also a missing newline after the function. Not sure why the lint bot didn't catch this.
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.
I believe "write to log and break" was always the default? The log function does still work; I've been using it to monitor function calls.
No description provided.