I work with a RCM6700 and Dynamic C 10.72.
I have the following runtime error although my program is not using any dynamic allocation.
Run time error : Heap usage error detected
file : MALLOC.LIB
function : mspace_free
line : 3313
My program uses root and xmem storage and I suspect that some line of code is updating root memory while I intend to update xmem or vice versa.
When I get the runtime error DC crashes and I cannot go back and find out how my program got there. How can I debug this situation to itendify the faulty line(s) of code(s)?