-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathlaunch.json
39 lines (39 loc) · 1.17 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
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug c_compiler",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/bin/c_compiler",
"args": [
"-S",
"compiler_tests/_example/example.c",
"-o",
"bin/debug.s",
],
"cwd": "${workspaceFolder}",
"environment": [
{
"name": "ASAN_OPTIONS",
"value": "exitcode=0,detect_leaks=0"
}
],
"externalConsole": false,
"MIMode": "gdb",
"preLaunchTask": "Run make",
"setupCommands": [
{
"description": "Enable GDB pretty-printing",
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
{
"description": "Show Intel style disassembly in GDB",
"text": "-gdb-set disassembly-flavor intel",
"ignoreFailures": true
}
]
}
]
}