-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathlaunch.json
90 lines (90 loc) · 3.1 KB
/
launch.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
// 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 PROT_RELAY",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/open_server",
"args": ["lo","7102","cfg/PROT_RELAIS.cfg","cfg/PROT_RELAIS.ext", "L"],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
{
"description": "Set Disassembly Flavor to Intel",
"text": "-gdb-set disassembly-flavor intel",
"ignoreFailures": true
}
]
},
{
"name": "(gdb) Launch IED1",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/open_server",
"args": ["lo","7102","cfg/IED1_XCBR.cfg","cfg/IED1_XCBR.ext"],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
},
{
"name": "(gdb) Launch IED3",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/open_server",
"args": ["lo","9102","cfg/IED3_SMV.cfg","cfg/IED3_SMV.ext","L"],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"miDebuggerPath": "${workspaceFolder}/sudo_gdb.sh",
},
{
"name": "(gdb) Launch IED2",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/open_server",
"args": ["lo","8102","cfg/IED2_PTOC.cfg","cfg/IED2_PTOC.ext"],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}