Skip to content

Commit e6a06e5

Browse files
committed
share debugger config
1 parent 2533661 commit e6a06e5

File tree

3 files changed

+131
-1
lines changed

3 files changed

+131
-1
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
/build/
33
/out/
44
/.vs/
5-
/.vscode/
65
CMakeSettings.json
76
external/
87
ppuc/

.vscode/launch.json

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "(lldb) ppuc-pinmame",
6+
"type": "cppdbg",
7+
"request": "launch",
8+
"program": "${workspaceFolder}/ppuc/ppuc-pinmame",
9+
"args": ["-c", "examples/t2.yml", "-n", "--virtual-dmd", "--virtual-dmd-window"],
10+
"stopAtEntry": false,
11+
"cwd": "${workspaceFolder}",
12+
"environment": [],
13+
"externalConsole": false,
14+
"MIMode": "lldb"
15+
},
16+
{
17+
"name": "(lldb) ppuc-backbox",
18+
"type": "cppdbg",
19+
"request": "launch",
20+
"program": "${workspaceFolder}/ppuc/ppuc-backbox",
21+
"args": ["-c", "backbox.ini", "--virtual-dmd", "--virtual-dmd-window", "-d"],
22+
"stopAtEntry": false,
23+
"cwd": "${workspaceFolder}",
24+
"environment": [],
25+
"externalConsole": false,
26+
"MIMode": "lldb"
27+
},
28+
{
29+
"name": "(lldb) ppuc-backbox console",
30+
"type": "cppdbg",
31+
"request": "launch",
32+
"program": "${workspaceFolder}/ppuc/ppuc-backbox",
33+
"args": ["-c", "backbox.ini", "-i"],
34+
"stopAtEntry": false,
35+
"cwd": "${workspaceFolder}",
36+
"environment": [],
37+
"externalConsole": false,
38+
"MIMode": "lldb"
39+
},
40+
{
41+
"name": "(gdb) ppuc-pinmame",
42+
"type": "cppdbg",
43+
"request": "launch",
44+
"program": "${workspaceFolder}/ppuc/ppuc-pinmame",
45+
"args": ["-h"],
46+
"stopAtEntry": false,
47+
"cwd": "${workspaceFolder}",
48+
"environment": [],
49+
"externalConsole": false,
50+
"MIMode": "gdb",
51+
"miDebuggerPath": "/usr/local/bin/gdb",
52+
"setupCommands": [
53+
{
54+
"description": "Enable pretty-printing for gdb",
55+
"text": "-enable-pretty-printing",
56+
"ignoreFailures": true
57+
}
58+
]
59+
},
60+
]
61+
}

.vscode/settings.json

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
{
2+
"files.associations": {
3+
"thread": "cpp",
4+
"chrono": "cpp",
5+
"cstring": "cpp",
6+
"cstdio": "cpp",
7+
"__locale": "cpp",
8+
"regex": "cpp",
9+
"string": "cpp",
10+
"string_view": "cpp",
11+
"__config": "cpp",
12+
"new": "cpp",
13+
"__bit_reference": "cpp",
14+
"__hash_table": "cpp",
15+
"__node_handle": "cpp",
16+
"__split_buffer": "cpp",
17+
"__tree": "cpp",
18+
"__verbose_abort": "cpp",
19+
"any": "cpp",
20+
"array": "cpp",
21+
"bitset": "cpp",
22+
"cctype": "cpp",
23+
"charconv": "cpp",
24+
"cinttypes": "cpp",
25+
"clocale": "cpp",
26+
"cmath": "cpp",
27+
"complex": "cpp",
28+
"condition_variable": "cpp",
29+
"cstdarg": "cpp",
30+
"cstdint": "cpp",
31+
"cstdlib": "cpp",
32+
"ctime": "cpp",
33+
"cwchar": "cpp",
34+
"cwctype": "cpp",
35+
"deque": "cpp",
36+
"execution": "cpp",
37+
"memory": "cpp",
38+
"forward_list": "cpp",
39+
"fstream": "cpp",
40+
"future": "cpp",
41+
"initializer_list": "cpp",
42+
"iomanip": "cpp",
43+
"ios": "cpp",
44+
"iosfwd": "cpp",
45+
"iostream": "cpp",
46+
"istream": "cpp",
47+
"limits": "cpp",
48+
"list": "cpp",
49+
"locale": "cpp",
50+
"map": "cpp",
51+
"mutex": "cpp",
52+
"optional": "cpp",
53+
"print": "cpp",
54+
"queue": "cpp",
55+
"ratio": "cpp",
56+
"set": "cpp",
57+
"shared_mutex": "cpp",
58+
"sstream": "cpp",
59+
"stack": "cpp",
60+
"stdexcept": "cpp",
61+
"streambuf": "cpp",
62+
"typeinfo": "cpp",
63+
"unordered_map": "cpp",
64+
"unordered_set": "cpp",
65+
"valarray": "cpp",
66+
"variant": "cpp",
67+
"vector": "cpp",
68+
"algorithm": "cpp"
69+
}
70+
}

0 commit comments

Comments
 (0)