-
Notifications
You must be signed in to change notification settings - Fork 112
Remote debugging
TriForce edited this page Sep 11, 2024
·
4 revisions
- Install the Native Debug extension for VS Code
- Add below launch configuration to Run configurations in VS Code (Run->Add Configuration..)
{
"version": "0.2.0",
"configurations": [
{
"type": "gdb",
"request": "attach",
"name": "Attach to gdbserver",
"executable": "<path to binary relative to workspace root>",
"target": "192.168.137.1:9999",
"remote": true,
"cwd": "${workspaceRoot}",
"gdbpath": "/opt/arm-miyoo-linux-uclibcgnueabi_sdk-buildroot/bin/arm-linux-gdb"
}
]
}
- On miyoo device start gdbserver with application
gdbserver 192.168.137.1:9999 ./<application>
- Start debugging in VS code (Run->Start Debugging)
- Overview
- Console Hotkeys
- Build Image and SDK
- Build Kernel
- Build uBoot
- Get the prebuilt SDK from GH actions
- Making Games
- Using Docker to Compile Games
- Remote debugging
- USB Networking
- Bug Reporting
- Discussions Topics
- Emulator Info
- Homebrew Info
- DosBox Setup
- RetroArch Setup
- GameBoy
- Gameboy Advance
- Arcade
- PlayStation
Themes
- GMenu2X
- SimpleMenu
Frontends
Projects
Modding
- ALL
- V90
- PocketGo
- BittBoy