Open
Description
Type: Bug
- create any cmake project.
- use gdb debugger to debug app
- add
.gdbinit
to project root directory. The content is:
python
print("Local GDB Init")
end
- add config to ~/.gdbinit:
set auto-load local-gdbinit on
set auto-load safe-path /
add-auto-load-safe-path /
python
print("Global GDB init")
end
- start gdb debugger from VSCode, it will show
Global GDB init
but noLocal GDB Init
. So, project's.gdbinit
not run.
Extension version: 1.25.3
VS Code version: Code 1.100.2 (848b80aeb52026648a8ff9f7c45a9b0a80641e2e, 2025-05-14T21:47:40.416Z)
OS version: Windows_NT x64 10.0.19045
Modes: