Open 3vi1 opened 2 weeks ago
After fixing the buffer overflow in RetroDebugger, this works fairly decently just with the node task on Linux.
tasks.json:
{
"tasks": [
{
"type": "vs64",
"action": "build",
"group": {
"kind": "build",
"isDefault": true
},
"label": "build project"
},
{
"label": "retrodebugger",
"type": "shell",
"command": "retrodebugger",
"args": [
"${workspaceFolder}/build/${workspaceFolderBasename}.prg"
]
}
]
}
Configuration to add to launch.json:
{
"name": "Launch RetroDebugger",
"request": "launch",
"type": "node",
"preLaunchTask": "retrodebugger",
}
It would be great if VS64 could also support launching the app with RetroDebugger (https://github.com/slajerek/RetroDebugger) via the debug configurations. It wouldn't even need to necessarily support the VICE hooks back to be a useful addition.
I was able to get this to kind of work in Code by adding a node-type configuration to my launch.json, with a prelaunch task of "retrodebugger", which I manually added to tasks.json as a shell task that calls the apps with the correct arguments. Still, it would be nice if such a debug configuration could be built automagically, like the VICE configurations.
Note: I opened https://github.com/slajerek/RetroDebugger/issues/69 over on his issue tracker because RetroDebugger doesn't seem to properly handle the command line arguments on Linux in its current state. This might not be a problem on the Windows build though, so at least Windows users might get immediate benefit.