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
|
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug MinGW-w64",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/unit_tests/UnitTests.exe",
"args": [
//"--list-tests",
"--rng-seed 0",
"-s scripted_tests.lane.tasking_cancelling"
],
"stopAtEntry": true,
"cwd": "${workspaceFolder}",
"environment": [
{
"name" : "LUA_CPATH",
"value" : "./src/?.dll;./deep_userdata_example/?.dll"
},
{
"name" : "LUA_PATH",
"value" : "./src/?.lua;./tests/?.lua"
}
],
"externalConsole": false, // or true, depending on your preference
"MIMode": "gdb",
"miDebuggerPath": "C:/msys64/ucrt64/bin/gdb.exe", // Replace with your GDB path
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
{
"description": "Show GDB commands",
"text": "-interpreter-exec console \"monitor set debug 1\"",
"ignoreFailures": true
}
]
}
]
}
|