From 8bef7d3ec86e6051453cf27e7e7e36e6704a6860 Mon Sep 17 00:00:00 2001 From: Vadim Sychev Date: Thu, 15 Dec 2022 15:39:03 +0300 Subject: [PATCH] =?UTF-8?q?dev:=20=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=BA=D0=BE=D0=BD=D1=84=D0=B8=D0=B3=D1=83=D1=80=D0=B0?= =?UTF-8?q?=D1=86=D0=B8=D1=8E=20=D1=83=D0=B4=D0=B0=D0=BB=D0=B5=D0=BD=D0=BD?= =?UTF-8?q?=D0=BE=D0=B9=20=D0=BE=D1=82=D0=BB=D0=B0=D0=B4=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/.vscode/launch.json | 76 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100755 src/.vscode/launch.json diff --git a/src/.vscode/launch.json b/src/.vscode/launch.json new file mode 100755 index 0000000..e44d8a2 --- /dev/null +++ b/src/.vscode/launch.json @@ -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" +} \ No newline at end of file