Page 1 of 1

backtrace

Posted: Fri Dec 19, 2008 2:46 am
by PerB
Hi,
Is there a way to generate stack trace?
I tried to use backtrace but there does not seem to be a header file for it.

My intention is to save the stack trace in flash memory.

/Per

Re: backtrace

Posted: Fri Dec 19, 2008 9:31 am
by pbreed
Take a look at the smart trap code.

nburn\system\smarttrap

It only works in release mode, but it provides stack traces for all tasks on a fault.

PAul