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

Added the ability to start/stop debugger from third party processes #1836

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

SeleDreams
Copy link

@SeleDreams SeleDreams commented Feb 7, 2023

I have been working on this recently in order to make it easier to debug homebrew apps (associated with a modified version of hbmenu that makes use of this feature)

I used this opportunity to separate the debugger code from the menu code since it was getting a bit messy.

@SeleDreams
Copy link
Author

I found some issues so it shouldn't be merged yet

@SeleDreams
Copy link
Author

I'm actually curious about how you debug luma because i keep going back and forth with godmode 9 to delete the firm everytime luma panics but it would be better to be able to set breakpoints or have the debugger show me where it panics

@adryzz
Copy link

adryzz commented Oct 25, 2023

@SeleDreams any updates on this? it's really useful

@SeleDreams
Copy link
Author

SeleDreams commented Oct 25, 2023

@adryzz

I couldn't get the random crashes on boot to stop happening and since i wasn't familiar enough with the codebase and there wasn't really a lot of documentation I ended up giving up on it.

the last build I did is on gbatemp https://gbatemp.net/threads/fork-of-luma3ds-and-homebrew-launcher-for-easy-debugging.625790/

@adryzz
Copy link

adryzz commented Oct 25, 2023

thanks, i was trying to run unit tests on a physical console, i guess I'll take a deeper look at the code here tomorrow

@adryzz
Copy link

adryzz commented Oct 26, 2023

uhm... @SeleDreams did you see this?

image

case 5: // DebugNextApplicationByForce (removed)

a quick lookup returns this

case 5: // DebugNextApplicationByForce

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.

None yet

2 participants