Changes between Initial Version and Version 1 of Ticket #11292, comment 4
- Timestamp:
- Dec 31, 2019, 9:07:28 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11292, comment 4
initial v1 3 3 2. Get devkitARM from here: https://devkitpro.org/wiki/Getting_Started. You don't need to get the whole thing working, just the GDB debugger. 4 4 3. Start ScummVM on your 3DS, go to the Rosalina menu (L+Down+Select), enable the debugger (Debugger options > enable debugger), go to the process list and select ScummVM (3dsx_app if you used the homebrew launcher). Take note of the IP address of your 3DS and the debugger port. They are displayed in the menu. For me, it's 192.168.1.87:4000. Close the Rosalina menu. If it closes ScummVM, try again, but open a dialog in ScummVM before opening the Rosalina menu (The keypress to close Rosalina is sometimes passed to ScummVM). 5 4. On your computer in the devkitARM shell, run "arm-none-eabi-gdb /path/to/scummvm.elf" (with the location where you downloaded that file). Then, in GDB, enter "target remote 192.168.1.87:4000" (with your IP and port) to connect to the 3DS. Enter ' r' to resume execution.5 4. On your computer in the devkitARM shell, run "arm-none-eabi-gdb /path/to/scummvm.elf" (with the location where you downloaded that file). Then, in GDB, enter "target remote 192.168.1.87:4000" (with your IP and port) to connect to the 3DS. Enter 'c' to resume execution. 6 6 5. On the 3DS, reproduce the crash. 7 7 6. On the computer, GDB should have trapped the error. Enter "thread apply all bt" to print a backtrace.