Debugging
For Developers of the TEN Framework
For Users of the TEN Framework
Debugging in C++ Applications
Debugging C++ code with lldb or gdb
{ "name": "app (C++) (lldb, launch)", "type": "lldb", "request": "launch", // "launch" or "attach" "program": "${workspaceFolder}/bin/worker", // The executable path "cwd": "${workspaceFolder}/", "env": { "LD_LIBRARY_PATH": "${workspaceFolder}/ten_packages/system/xxx/lib", // linux "DYLD_LIBRARY_PATH": "${workspaceFolder}/ten_packages/system/xxx/lib" // macOS } }{ "name": "app (C++) (gdb, launch)", "type": "cppdbg", "request": "launch", // "launch" or "attach" "program": "${workspaceFolder}/bin/worker", // The executable path "cwd": "${workspaceFolder}/", "MIMode": "gdb", "environment": [ { // linux "name": "LD_LIBRARY_PATH", "value": "${workspaceFolder}/ten_packages/system/xxx/lib" }, { // macOS "name": "DYLD_LIBRARY_PATH", "value": "${workspaceFolder}/ten_packages/system/xxx/lib" } ] }
Debugging Python code with debugpy
Debugging C++ and Python code at the same time
Debugging in Go applications
Debugging Go code with delve
Debugging C++ code with lldb or gdb
Debugging Python code with debugpy
Debugging C++, Go and Python code at the same time
Debugging in Python applications
Debugging C++ code with lldb or gdb
Debugging Python code with debugpy
Debugging C++ and Python code at the same time
Last updated