Overview of Debugging and Characterizations
Posted: Wed Oct 31, 2018 12:09 am
by EricDevB
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
Re: Overview of Debugging and Characterizations
Posted: Wed Oct 31, 2018 2:58 am
by ESP_igrr
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)