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

Fix Memory Breakpoints (MBP) Debugging #184

Open
wants to merge 6 commits into
base: slippi
Choose a base branch
from

Conversation

rapito
Copy link
Contributor

@rapito rapito commented Aug 20, 2020

This fixes the following:

  • Adding/Removing a memory breakpoint will now properly pause when on.
  • Adding/Removing a memory breakpoint while the game is running no longer crashes dolphin.
  • Adding/Removing a memory breakpoint now properly updates the table entries on the breakpoints tab.
  • DebugFast and Debug configurations can now be built using Visual Studio.

Things to know:

  • Use DebugFast run configuration instead of Debug since it will run the game a lot faster than Debug (which is very slow).
  • If you build any Release Configuration then you must rebuild the whole solution (I think) on DebugFast to be able to hit breakpoints again. (I got too tired to figure this out)
    i.e:
    • Build DebugFast: breakpoints are working properly
    • Build Release
    • Build DebugFast again: breakpoints no longer work.
    • Rebuild Solution in DebugFast: breakpoints are working again.

rapito added 5 commits August 20, 2020 02:08
Use proper range depending on the data type when adding a breakpoint.
+ Always Break when a memcheck is hit
+

Mergeback from mainline
-  Add Breakpoints on a CPU thread
+ Use mainline memchecks instead of commented out code (actually hit a breakpoint)
+ Use 142 buildtools as all other projects
+ pass in -d argument to dolphin on run
Don't Memcheck if disabled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants