Overview of Debugging and Characterizations

EricDevB
Posts: 4
Joined: Thu Feb 15, 2018 3:44 am

Overview of Debugging and Characterizations

Postby EricDevB » Wed Oct 31, 2018 12:09 am

For developing for the esp32, any suggestions on where to find current information on the topics below?

1.Using GDB

2.Crash debugging

3.Heap and stack overflows

4.Application Tracing and SystemView

5.Memory footprint analysis

ESP_igrr
Posts: 2071
Joined: Tue Dec 01, 2015 8:37 am

Re: Overview of Debugging and Characterizations

Postby ESP_igrr » Wed Oct 31, 2018 2:58 am

JTAG debugging
Fatal errors
Heap memory debugging
Application level tracing
No documentation section on memory footprint analysis, but you can use the following build system targets:

Code: Select all

make size - Display the static memory footprint of the app
make size-components, size-files - Finer-grained memory footprints
make size-symbols - Per symbol memory footprint. Requires COMPONENT=<component>
(or idf.py size, idf.py size-components, idf.py size-files if you are using the CMake based build system)

Who is online

Users browsing this forum: Bing [Bot] and 96 guests