Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
I need to trace memory leak but I can't find a way. on IDF you can use heap_trace_init_standalone but there is not present on arduino framework.
If you add #include <esp_heap_trace.h> (and define CONFIG_HEAP_TRACING) at the top of your sketch, the method should be available.
#include <esp_heap_trace.h>
CONFIG_HEAP_TRACING
It is defined in esp32\tools\sdk\esp32\include\heap\include\esp_heap_trace.h
esp32\tools\sdk\esp32\include\heap\include\esp_heap_trace.h
Required, but never shown
By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.
Start asking to get answers
Find the answer to your question by asking.
Explore related questions
See similar questions with these tags.