-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve debugging experience of CMake (#3646)
- Loading branch information
Showing
2 changed files
with
71 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
{ | ||
"version": "0.2.1", | ||
"defaults": {}, | ||
"configurations": [ | ||
{ | ||
"type": "cppdbg", | ||
"project": "CMakeLists.txt", | ||
"projectTarget": "keeperfx.exe", | ||
"name": "keeperfx.exe (gdb)", | ||
"currentDir": "E:\\Games\\keeperfx_1_2_0_complete", | ||
"cwd": "E:\\Games\\keeperfx_1_2_0_complete", | ||
"args": [ | ||
"-level", | ||
"00001", | ||
"-campaign", | ||
"personal", | ||
"-nointro", | ||
"-alex" | ||
], | ||
"program": "${debugInfo.target}", | ||
"MIMode": "gdb", | ||
"miDebuggerPath": "C:\\msys64\\mingw32\\bin\\gdb.exe", | ||
"externalConsole": true, | ||
"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 | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "cppdbg", | ||
"project": "CMakeLists.txt", | ||
"projectTarget": "keeperfx_hvlog.exe", | ||
"name": "keeperfx_hvlog.exe (gdb)", | ||
"currentDir": "E:\\Games\\keeperfx_1_2_0_complete", | ||
"cwd": "E:\\Games\\keeperfx_1_2_0_complete", | ||
"args": [ | ||
"-level", | ||
"00001", | ||
"-campaign", | ||
"personal", | ||
"-nointro", | ||
"-alex" | ||
], | ||
"program": "${debugInfo.target}", | ||
"MIMode": "gdb", | ||
"miDebuggerPath": "C:\\msys64\\mingw32\\bin\\gdb.exe", | ||
"externalConsole": true, | ||
"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 | ||
} | ||
] | ||
} | ||
] | ||
} |