Add gdb debugging capability

This commit is contained in:
Joey Yakimowich-Payne 2020-01-12 01:26:54 -07:00
commit 740a0c46f4
5 changed files with 63 additions and 23 deletions

18
.vscode/launch.json vendored Normal file
View file

@ -0,0 +1,18 @@
{
// 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": "Nim Debug",
"type": "gdb",
"request": "launch",
"target": "${workspaceFolder}\\build\\demo\\demo_glfw_debug.exe",
"cwd": "${workspaceRoot}",
"gdbpath": "${workspaceFolder}\\nim-gdb.bat",
"valuesFormatting": "parseText"
}
]
}