Files
unison/.vscode/launch.json
2021-05-12 21:06:15 +00:00

95 lines
3.1 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": "(gdb) Launch from scratch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/build/scratch/${fileBasenameNoExtension}",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"preLaunchTask": "Build",
"environment": [
{
"name": "LD_LIBRARY_PATH",
"value": "./build/lib/"
}
],
"externalConsole": true,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
},
{
"name": "(lldb) Launch from scratch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/build/scratch/${fileBasenameNoExtension}",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"preLaunchTask": "Build",
"environment": [
{
"name": "LD_LIBRARY_PATH",
"value": "./build/lib/"
}
],
"externalConsole": false,
"MIMode": "lldb"
},
{
"name": "(gdb) Launch testrunner",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/build/utils/ns3-dev-test-runner-debug",
"args": ["--suite=${selectedText}"],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"preLaunchTask": "Build",
"environment": [
{
"name": "LD_LIBRARY_PATH",
"value": "./build/lib/"
}
],
"externalConsole": true,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
},
{
"name": "(lldb) Launch testrunner",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/build/utils/ns3-dev-test-runner-debug",
"args": ["--suite=${selectedText}"],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"preLaunchTask": "Build",
"environment": [
{
"name": "LD_LIBRARY_PATH",
"value": "./build/lib/"
}
],
"externalConsole": false,
"MIMode": "lldb"
}
]
}