-
Notifications
You must be signed in to change notification settings - Fork 599
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: Add conditional data breakpoints, and a few minor bug fixes #2473
Open
mateusfavarin
wants to merge
40
commits into
stenzek:master
Choose a base branch
from
mateusfavarin:debugger
base: master
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 22 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
8489e1f
Decrement bp counter when removing a bp from the list
mateusfavarin cb06da7
Fix default bp counter when cleared
mateusfavarin f98ccfd
Fix bp list UI not updating when clearing all bps
mateusfavarin d3d1a41
Fix bp ids not updating when a bp is removed
mateusfavarin 12b29dd
Add conditional bp UI
mateusfavarin 5364eab
Fix typo
mateusfavarin e66b633
UI tweaks, add data structs that will encapsulate the new debugging l…
mateusfavarin 11e06cc
Change address size field to be a line
mateusfavarin e8d7441
Update data structure for s_breakpoints
mateusfavarin 511e55c
Implement condition breakpoints
mateusfavarin a83f259
Add default textline values for the DebugPrompt
mateusfavarin f511bcc
Fix bp not disabling via checkbox
mateusfavarin 411852d
Change instruction format to hex always use Hex for consistency
mateusfavarin a40286e
Add the possibility to edit current breakpoints
mateusfavarin 1253f69
Breakpoint editor: fix cancel button not working
mateusfavarin 18d93de
Add menu to edit and delete breakpoints
mateusfavarin 5cec416
Conditional data bp: add support for lwl, lwr, swl, swr
mateusfavarin 6e5f938
Fix breakpoint being created in the edit mode
mateusfavarin e4690b3
Make CPU registers editable
mateusfavarin c77da8b
Make disasm comments follow the selected addr in the codeView
mateusfavarin 71b5f37
CPU Reg edit: only scroll to PC if PC was changed
mateusfavarin 90b5e4b
Make stack editable
mateusfavarin 8a7efb2
Add string as a search pattern in the memory view
mateusfavarin 157662d
Change LookAhead memread function
mateusfavarin 09bf376
Add a range check in DataBreakpointCheck
mateusfavarin 844ab25
Change bp status bar message
mateusfavarin a39ddd4
Fix range address tests
mateusfavarin e74d0ee
Merge branch 'stenzek:master' into debugger
mateusfavarin 5b97601
Merge branch 'stenzek:master' into debugger
mateusfavarin 2228e33
Fix crash when closing the debugger
mateusfavarin d9334eb
Merge branch 'stenzek:master' into debugger
mateusfavarin 8c46371
Remove unnecessary import
mateusfavarin 1a95f1f
Fix crash when loading a save state with the debugger unpaused
mateusfavarin 45a9c10
Merge branch 'stenzek:master' into debugger
mateusfavarin e5bd628
Merge branch 'stenzek:master' into debugger
mateusfavarin 752a4f4
Make instructions editable
mateusfavarin 997e290
Add memory size selector in the mem viewer
mateusfavarin ed83c6f
Always highlight selected address
mateusfavarin 1a78ff2
Add memory display UI
mateusfavarin 9fbea5f
Merge branch 'stenzek:master' into debugger
mateusfavarin File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Rather than combining the breakpoints, it'd be better to store the execution and data breakpoints in separate arrays (fewer loops/comparisons for every guest instruction).