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
Dear all
I try to debug openfast in linux system as the document [https://openfast.readthedocs.io/en/main/source/dev/debugging.html] ,my launch.json is written as:
Native Debug gives that error message if the cwd doesn't exist (WebFreak001/code-debug#398). Please check that ${workspaceRoot}/build/reg_tests/glue-codes/openfast/AOC_WSt exists and contains the test files. If not, run ctest -R AOC_WSt from the build directory to run the test and initialize the directory before debugging.
Dear all
I try to debug openfast in linux system as the document [https://openfast.readthedocs.io/en/main/source/dev/debugging.html] ,my launch.json is written as:
{
"name": "AOC_WSt",
"type": "gdb",
"request": "launch",
"printCalls": false,
"showDevDebugOutput": false,
"valuesFormatting": "prettyPrinters",
"gdbpath": "gdb",
"target": "${workspaceRoot}/build/glue-codes/openfast/openfast",
"cwd": "${workspaceRoot}/build/reg_tests/glue-codes/openfast/AOC_WSt/",
"arguments": "${workspaceRoot}/build/reg_tests/glue-codes/openfast/AOC_WSt/AOC_WSt.fst",
}
but it occurs an error:
Could not start debugger process, does the program exist in filesystem?
Error: spawn gdb ENOENT
It seems like it cannot find gdb.exe ,but I truly has installed gdb.
Then I change the gdbpath to "/usr/bin/gdb",it also occurs an error:
Could not start debugger process, does the program exist in filesystem?
Error: spawn /usr/bin/gdb ENOENT
I am a new to debugging in linux system, I donot know how to solve the problem, could anyone give me some advice?
Thank you.
AsIlll223
The text was updated successfully, but these errors were encountered: