-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
Description
Description of defect
Setting
"platform.heap-stats-enabled": false,
"platform.memory-tracing-enabled": false,
in mbed_app.json
does not deactivate tracing in mbed_alloc_wrappers.cpp
Target(s) affected by this defect ?
every target
How is this defect reproduced ?
Set
"platform.heap-stats-enabled": false,
"platform.memory-tracing-enabled": false,
in mbed_app.json
.
Compile with debug profile and set a break point i.e. in mbed_alloc_wrappers.cpp
inside malloc_wrapper()
.
Solution:
All
#ifdef MBED_MEM_TRACING_ENABLED
and
#ifdef MBED_HEAP_STATS_ENABLED
should be replaced by:
#if MBED_MEM_TRACING_ENABLED
#if MBED_HEAP_STATS_ENABLED