-
Notifications
You must be signed in to change notification settings - Fork 124
Closed
Description
Environment:
OS: Windows 10, 11, MacOS (tried in all)
Visual Studio Code
Native Debug version v0.26.0
OpenOCD session running in background
Hardware ESP32
JTAG hardware ESP-prog
Issue:
My debugging environment stops working after updating to v0.26.0. When starting a session openocd reports gdb session as dropped.
After reverting to v0.25.1 it works as usual.
Copy of launch.json
{
"version": "0.2.0",
"configurations": [
{
"type": "gdb",
"request": "launch",
"name": "Flash and Debug Jlink",
"target": "./build/ninja-fiw.elf",
"cwd": "${workspaceFolder}",
"gdbpath": "xtensa-esp32-elf-gdb",
"autorun": [
"target remote :3333",
"mon reset halt",
"flushregs",
"thb app_main",
"c"
]
}
]
}
If submitting a bug please make sure
- If you are using gdb
-
gdb --version
>= 7.7.1 - it works on the command line with
gdb
-
cwd
andtarget
are properly set
-
- If you are using lldb
-
lldb --version
>= 3.7.1 - it works on the command line with
lldb-mi
-
cwd
andtarget
are properly set
-
Screenshots are helpful but not required