mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 08:24:32 -08:00
These are some changes I made to debug tooling while tracking down the bugfix in the previous commit. Each `scripts/debug_*_alloc.gdb` script has gdb output a `*_allocs.txt` file, which in turn can be parsed by the `scripts/parse_*_allocs.py` script to find errors.
33 lines
1.0 KiB
JSON
33 lines
1.0 KiB
JSON
{
|
|
// Use IntelliSense to learn about possible attributes.
|
|
// Hover to view descriptions of existing attributes.
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "QEMU Debug Server",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/build/jsix.elf",
|
|
"args": [],
|
|
"cwd": "${workspaceFolder}",
|
|
"logging": {
|
|
//"engineLogging": true,
|
|
"programOutput": true
|
|
},
|
|
"stopAtConnect": true,
|
|
"stopAtEntry": false,
|
|
|
|
"setupCommands": [
|
|
{"text": "dashboard -enabled off", "ignoreFailures": true}
|
|
],
|
|
|
|
"MIMode": "gdb",
|
|
"miDebuggerServerAddress": "localhost:1234",
|
|
"debugServerPath": "${workspaceFolder}/qemu.sh",
|
|
"debugServerArgs": "--debug --no-build",
|
|
"serverLaunchTimeout": 5000,
|
|
}
|
|
]
|
|
}
|