VS Arduino
Visual Micro >> Hardware Debugging (GDB, GDB WiFi, GDB Stub) >> ESP32 Debugger cannot find source - strange path
https://www.visualmicro.com/forums/YaBB.pl?num=1564389829

Message started by RogerW on Jul 29th, 2019 at 8:43am

Title: ESP32 Debugger cannot find source - strange path
Post by RogerW on Jul 29th, 2019 at 8:43am
Debugging some code with ESP32 and FT2232H Dual RS232 debugger. Works well so far. While stepping into the code I found that at some places the source is not available and the debugger tries to access the source at some unknown location. It looks like the path is somehow hardcoded to a strange location not on my pc. Please have a look at the screenshot.

Could this be a bug or am I doing something wrong?
gdb_source.PNG ( 87 KB | 3 Downloads )

Title: Re: ESP32 Debugger cannot find source - strange path
Post by Visual Micro on Jul 29th, 2019 at 10:00am
Yes we have noticed that. These are some low level sources that are pre-compiled by the author of the esp core. The author created a lib such as .a file and then distributed the lib instead of the original sources.

There isn't much we can. Maybe you could ask the author to include the sources even if not used. We might then be able to pass a mappings list to the debugger so it can find the sources when it wants them.

VS Arduino » Powered by YaBB 2.6.12!
YaBB Forum Software © 2000-2024. All Rights Reserved.