backtrace

Discussion to talk about software related topics only.
Post Reply
PerB
Posts: 2
Joined: Tue Sep 09, 2008 1:36 am

backtrace

Post 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
User avatar
pbreed
Posts: 1088
Joined: Thu Apr 24, 2008 3:58 pm

Re: backtrace

Post 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
Post Reply