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

CLI option to toggle gdb breakOnStart #2178

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

GalaxyShard
Copy link
Contributor

@GalaxyShard GalaxyShard commented Oct 29, 2024

I've found this patch quite useful in the time that I've spent debugging startup problems in homebrew--it is much easier to add/remove a command line flag and begin running the game rather than having to startup gdb, connect to localhost and continue running.

I avoided adding global state with this patch, although the code for passing arguments from the frontend to the emulator feels a bit messy. Maybe it should be refactored a bit, adding a more extendable way of passing arguments down? Although that may be beyond the scope of this PR.

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.

1 participant