From 57cbd020a12063b1b507a6cfe6aff80ed7951af9 Mon Sep 17 00:00:00 2001 From: Nikita Smith Date: Mon, 2 Mar 2026 11:45:19 -0800 Subject: [PATCH] debugging extras --- launch.vs.json | 28 ++++++++++++++++++++++++++++ src/natvis/raddbg.natstepfilter | 7 +++++++ 2 files changed, 35 insertions(+) create mode 100644 launch.vs.json create mode 100644 src/natvis/raddbg.natstepfilter diff --git a/launch.vs.json b/launch.vs.json new file mode 100644 index 00000000..f92b78e1 --- /dev/null +++ b/launch.vs.json @@ -0,0 +1,28 @@ +{ + "version": "0.2.1", + "defaults": {}, + "configurations": [ + { + "type": "cppdbg", + "name": "raddbg", + "request": "launch", + "project": "c://windows//system32//cmd.exe", + "program": "build/raddbg", + "args": [ "-no_stdout_buffer" ], + "stopAtEntry": false, + "cwd": ".", + "environment": [], + "externalConsole": true, + "pipeTransport": { + "pipeCwd": "${workspaceRoot}", + "pipeProgram": "wsl", + "pipeArgs": [ "${debuggerCommand}" ] + }, + "setupCommands": + [ + { "text": "handle SIGUSR1 nostop" } + ], + "MIMode": "gdb" + } + ] +} diff --git a/src/natvis/raddbg.natstepfilter b/src/natvis/raddbg.natstepfilter new file mode 100644 index 00000000..585fdbdc --- /dev/null +++ b/src/natvis/raddbg.natstepfilter @@ -0,0 +1,7 @@ + + + + __asan_memcpy + NoStepInto + +