Environment: MacOS | Visual Studio Code | ESP-IDF 5.4.1
Code: ESP-Modbus v2.0.2 | examples/serial_master.c
Example seems to build cleanly.
Image will flash and run. It does not run to completion.
Attempting to debug. Breakpoints are set in app_main(), master_init() and master_operation_func(). Once breakpoint in master_operation_func() is hit the message '__FUNCTION__ = No symbol "__FUNCTION__" in current context.' is seen under the Variables / Local section of the Visual Studio Code debug panel.
The debugger cannot sync across 'C' code and the disassembly. The breakpoint is shown significantly different points in image.
I have tried disabling optimization with no effect.
Any help would be greatly appreciated.
Unable to see symbols/variables in function using debugger in Visual Studio Code
Re: Unable to see symbols/variables in function using debugger in Visual Studio Code
I have come to learn that I am exceeding the 2 breakpoint limit. Ugh!
Who is online
Users browsing this forum: Baidu [Spider], Bing [Bot], Google [Bot], Qwantbot and 2 guests