From 04dc7cc3f4f27da0ad5338e5894e1de633744b83 Mon Sep 17 00:00:00 2001 From: Abdelrahman Date: Sat, 21 Oct 2023 18:59:25 +0100 Subject: [PATCH] Debug config --- .vscode/launch.json | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..11f8660 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,35 @@ +{ + // 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": "(gdb) Debug pckr", + "type": "cppdbg", + "request": "launch", + "program": "${workspaceFolder}/pckr", + "args": [ + "${workspaceFolder}/test_assets", + "${workspaceFolder}/assets" + ], + "stopAtEntry": false, + "cwd": "${fileDirname}", + "environment": [], + "externalConsole": false, + "MIMode": "gdb", + "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 + } + ] + } + ] +} \ No newline at end of file