Skip to content
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

Debugger improvements #3633

Merged
merged 3 commits into from
Oct 29, 2017
Merged

Debugger improvements #3633

merged 3 commits into from
Oct 29, 2017

Conversation

MattPryze
Copy link
Contributor

@MattPryze MattPryze commented Oct 22, 2017

First pull request and first time using github so rip me if I did it wrong.

I repositioned the debugger's current instruction to be in the middle. It used to be at the top so u always had to scroll to see what came before it. Now it's smack dab in the middle.

Added a breakpoints list so you can see all the current breakpoints. That way you can navigate away from them and you dont need to remember them to remove them. Double clicking on a breakpoint entry in the list will automatically load that breakpoint address. You can remove them in bulk by selecting them and pressing Delete. Or you can right click the selection and remove them that way. You can also rename each breakpoint entry for convenience.

@MattPryze MattPryze changed the title Debugger and save manager improvements Debugger improvements Oct 22, 2017
@@ -473,9 +493,58 @@ void debugger_frame::EnableButtons(bool enable)

void debugger_frame::ClearBreakpoints()
{
//deleting the breakpoints here turns this function into an all purpose clear breakpoints instead of just clearing on emu stop

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor quibble, you have 2 empty lines underneath this comment before the for loop. most of the code base would have no lines, with comment directly above denoted loop.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah. I'll check more carefully next time :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the blank lines

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh I didn't realize that I was the only one that could make the changes. I'm new to github. 1 sec

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically I can edit the changeset for you but its better if the author does it themselves. That way, commit history is intact and git blame identifies the authors correctly.

@MattPryze MattPryze closed this Oct 28, 2017
As soon as I tried the debugger, i wanted to move it to the middle almost instantly. Checked the code and found it sitting right here but commented out. Why? This is awesome.
@MattPryze MattPryze reopened this Oct 28, 2017
MattPryze and others added 2 commits October 28, 2017 12:44
Added a list widget that displays all the currently active breakpoints. You can rename each one for convenience, delete them in bulk, or double click to jump to that address.
@kd-11 kd-11 merged commit c1f08ce into RPCS3:master Oct 29, 2017
@MattPryze MattPryze deleted the oPryzeLP branch October 29, 2017 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants