-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wokwi GDB VSCode launch not working #227
Comments
Hi! Since esp-12.2.0_20230208, gdb is no longer part of the official release that That being said, I dont think we will work on fixing this at the moment, sorry. |
@SergioGasquez Hi, I'm working on a After seeing your comment I patched the .devcontainer Dockerfile to download and install xtensa-esp-elf-gdb alongside the esp toolchain already in the container/Dockerfile. After that, only the So, if I launch the Wikwi simulator followed by pressing F5 to run the debugger it looks like gdb is able to attach to the simulator, but I get the error "Remote 'g' packet reply is too long. Expected X bytes, got Y" which the Wokwi docs state it's usually related to using a gdb for the wrong architecture. While setting up the Dockerfile to download xtensa-esp-elf-gdb I found a bit confusing that the triple used for naming the gdb release packages did not include the 32 bit suffix while the releases of esp toolchain are named xtensa-esp32-elf. Maybe I am picking the wrong debugger after all? Thank you. |
You'll need to download: https://github.com/espressif/binutils-gdb/releases/tag/esp-gdb-v15.2_20241112 for your target, unzip it and point to |
Yeah, I was asking because as I said |
I think the correct one is |
Bug description
Running wokwi debugger via vscode does not work with error
Unable to start debugging. The value of miDebuggerPath is invalid
To Reproduce
Steps to reproduce the behavior:
prerequisites:
cargo generate esp-rs/esp-idf-template cargo
cargo build
Expected behavior
Should be able to run wokwi gdb
Screenshots
N/A
Environment
Additional context
The text was updated successfully, but these errors were encountered: