dev: Добавил конфигурацию удаленной отладки
This commit is contained in:
parent
111b24392c
commit
8bef7d3ec8
76
src/.vscode/launch.json
vendored
Executable file
76
src/.vscode/launch.json
vendored
Executable file
@ -0,0 +1,76 @@
|
||||
{
|
||||
"configurations": [
|
||||
|
||||
{
|
||||
"name": "pn_dev: start debug",
|
||||
"type": "cppdbg",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/build/profinet_io_dev",
|
||||
"args": [],
|
||||
"stopAtEntry": true,
|
||||
"cwd": "${workspaceFolder}",
|
||||
/*"cwd": "${fileDirname}",*/
|
||||
"environment": [],
|
||||
"externalConsole": false,
|
||||
"miDebuggerPath": "/home/svad/Projects/profinet_io_dev/debug_support/gdb",
|
||||
"MIMode": "gdb",
|
||||
"setupCommands": [
|
||||
{
|
||||
"description": "Включить автоматическое форматирование для gdb",
|
||||
"text": "-enable-pretty-printing",
|
||||
"ignoreFailures": true
|
||||
},
|
||||
/*{
|
||||
"description": "Enable break on all exceptions",
|
||||
"text": "catch throw",
|
||||
"ignoreFailures": true
|
||||
},*/
|
||||
{
|
||||
"description": "Задать для варианта приложения дизассемблирования значение Intel",
|
||||
"text": "-gdb-set disassembly-flavor intel",
|
||||
"ignoreFailures": true
|
||||
},
|
||||
/*{
|
||||
"text": "set target-async on"
|
||||
}*/
|
||||
|
||||
]
|
||||
},
|
||||
{
|
||||
// "processId": "${command:pickProcess}",
|
||||
"name": "(gdb) Remote debug",
|
||||
"type": "cppdbg",
|
||||
"request": "launch",
|
||||
"preLaunchTask": "PreDebug",
|
||||
"program": "./build/profinet_io_dev",
|
||||
"additionalSOLibSearchPath": "/home/svad/armdev/beagle_board/sysroot/lib",
|
||||
// "processId": "${command:pickProcess}",
|
||||
"MIMode": "gdb",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"miDebuggerPath": "/usr/bin/gdb-multiarch",
|
||||
"miDebuggerServerAddress": "192.168.6.2:2345",
|
||||
"miDebuggerArgs": "",
|
||||
"setupCommands": [
|
||||
{
|
||||
"description": "Включить автоматическое форматирование для gdb",
|
||||
"text": "-enable-pretty-printing",
|
||||
"ignoreFailures": true
|
||||
},
|
||||
/*{
|
||||
"description": "Enable break on all exceptions",
|
||||
"text": "catch throw",
|
||||
"ignoreFailures": true
|
||||
},*/
|
||||
{
|
||||
"description": "Задать для варианта приложения дизассемблирования значение Intel",
|
||||
"text": "-gdb-set disassembly-flavor intel",
|
||||
"ignoreFailures": true
|
||||
},
|
||||
/*{
|
||||
"text": "set target-async on"
|
||||
}*/
|
||||
]
|
||||
},
|
||||
],
|
||||
"version": "2.0.0"
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user