Open
Description
Development Kit
ESP32-DevKitC
Module or chip used
ESP32-S3-WROOM-1
Debug Adapter
ESP-PROG
OpenOCD version
Open On-Chip Debugger v0.12.0-esp32-20241016
Operating System
Windows
Using an IDE ?
Visual Studio COde
OpenOCD command line
occurs by stepwise debugging (G10)
JTAG Clock Speed
clock speed 40000 kHz
ESP-IDF version
v5.4.0
Problem Description
We have a C++ project that includes C files using extern "C". After adding a new breakpoint in a newly created task, we run the program until the breakpoint is hit. When debugging step-by-step using F10, the following error occurs:
The code is running okay.
Could someone explain why is this happenig?
Debug Logs
GNU gdb (esp-gdb) 14.2_20240403
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "--host=x86_64-w64-mingw32 --target=xtensa-esp-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
warning: could not convert 'main' from the host encoding (CP1252) to UTF-32.
This normally should not happen, please file a bug report.
set remotetimeout 20
0x40000400 in ?? ()
Expected behavior
I could debug the code step by step.
Screenshots
No response