-
Notifications
You must be signed in to change notification settings - Fork 136
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
OpenOCD V11 IDF V4.4 Eclipse Debugger steps into when using stepover command. (OCD-478) #210
Comments
Could you collect verbose OpenOCD and GDB logs and attach them here? You need to add |
Hi @gerekon, I tried the -l command in OpenOCD but just got a timeout. OpenOCD does not seem to like the -l command. I dropped the -l command and just copied the verbose output from the console. This morning I am not getting the : I have looked through the log files but I no idea what I am looking at. Cheers . |
I tried using the command n in the debugger console which I believe is the GDB command for step over. But the GDB still step into code. I also tried to build and use the latest master branch v0.11.0-esp32-20211220-23-g461a4c2b (2022-02-03-09:57) but still had the same problem. Reinstalled early version of OpenOCD right back to openocd-esp32-linux64-0.10.0-esp32-20200526 but the problam still occured. Decided to reinstall early version of GDB and version esp-2021r1-8.4.0 seems to work okay. I can step over code properly. The issue seems to be with the latest version of GDB esp-2021r2-8.4.0 |
Seems to be the same issue as espressif/esp-idf#8065 related to fixes in GDB from |
Closes #8065 Closes #8342 Closes espressif/openocd-esp32#210
Closes #8065 Closes #8342 Closes espressif/openocd-esp32#210
Closes #8065 Closes #8342 Closes espressif/openocd-esp32#210
Development Kit
Customer Product
Module or chip used
ESP32-wroom-32E
Debug Adapter
ESP-PROG
OpenOCD version
v0.11.0-esp32-20211220
Operating System
ubuntu
Using an IDE ?
Eclipse
OpenOCD command line
openocd -s ${openocd_path}/share/openocd/scripts -c 'set ESP32_FLASH_VOLTAGE 3.3' -f interface/ftdi/esp32_devkitj_v1.cfg -f target/esp32.cfg
JTAG Clock Speed
default
ESP-IDF version
V4.4
Problem Description
When stepping over code the debugger will step into instead of over the code
The attached screen recording shows the debugger steps into SPI_lus_initialise()
When I resume the program to a breakpoint then step the debugger steps over some routines but then steps into nvs_close(nvs_handle)
I also get the error
Error: FreeRTOS uxTaskNumber seems to be corrupted!
Debug Logs
Expected behavior
Debugger should reliably step over routines
OpenOCDV11.mp4
.
Screenshots
No response
The text was updated successfully, but these errors were encountered: