You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. I'm trying to use a custom debug configuration using the NativeDebug extension webfreak.debug within gitpod.
The debug configuration I'm using is
{
"name": "CTest",
"type": "gdb",
"request": "launch",
// "target": "" including that leads to an error message because of missing symbols
}
When starting a test I do get an error message
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at new NodeError (node:internal/errors:399:5)
at validateString (node:internal/validators:163:11)
at Object.isAbsolute (node:path:1157:5)
at MI2.load (/workspace/.vscode-remote/extensions/webfreak.debug-0.26.1-universal/out/src/backend/mi2/mi2.js:65:19)
at GDBDebugSession.launchRequest (/workspace/.vscode-remote/extensions/webfreak.debug-0.26.1-universal/out/src/gdb.js:52:29)
at GDBDebugSession.dispatchRequest (/workspace/.vscode-remote/extensions/webfreak.debug-0.26.1-universal/node_modules/vscode-debugadapter/lib/debugSession.js:378:22)
at GDBDebugSession.handleMessage (/workspace/.vscode-remote/extensions/webfreak.debug-0.26.1-universal/node_modules/vscode-debugadapter/lib/protocol.js:61:18)
at GDBDebugSession._handleData (/workspace/.vscode-remote/extensions/webfreak.debug-0.26.1-universal/node_modules/vscode-debugadapter/lib/protocol.js:155:34)
at Socket.<anonymous> (/workspace/.vscode-remote/extensions/webfreak.debug-0.26.1-universal/node_modules/vscode-debugadapter/lib/protocol.js:80:44)
at Socket.emit (node:events:513:28)
Checking the code I do see that this is rooted in the webfreak.debug extension expecting a target attribute, which is not set.
To make this extension also support webfreak.debug it seems that you may only need to set some additional attributes:
place whatever you put into program also in target
place whatever you put into args also in arguments
arguments
The text was updated successfully, but these errors were encountered:
Hi. I'm trying to use a custom debug configuration using the NativeDebug extension
webfreak.debug
within gitpod.The debug configuration I'm using is
When starting a test I do get an error message
Checking the code I do see that this is rooted in the
webfreak.debug
extension expecting atarget
attribute, which is not set.To make this extension also support
webfreak.debug
it seems that you may only need to set some additional attributes:program
also intarget
args
also inarguments
arguments
The text was updated successfully, but these errors were encountered: