The debuggers are great.  But when I am running gremilins an assert fires
off in the middle of the night, it would be useful to know what the call
stack was, since the code just keeps running.

At 05:58 PM 8/5/00 -0700, you wrote:
>
>
>There is no such function in the Palm OS API or SDK. However, you could
>certainly write such a function. But why? What have you got against
debuggers,
>which give you this information on a plate?
>
>-- Keith
>
>
>
>
>
>
>Oliver King-Smith <[EMAIL PROTECTED]> on 08/05/2000 10:26:52 AM
>
>Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>
>
>Sent by:  Oliver King-Smith <[EMAIL PROTECTED]>
>
>
>To:   "Palm Developer Forum" <[EMAIL PROTECTED]>
>cc:    (Keith Rollin/US/PALM)
>Subject:  Stack Dump
>
>
>
>Is there a function you can call in CW to get a stack dump while executing
>the program.  In other words what I want is a function like:
>
>static char pStack[256];
>
>void foo()
>{
>
>     ....
>
>     DumpStack( pStack, 256 );     // Get the current stack state
>     WriteToMemoPad( pStack );
>     ...
>}
>
>Oliver
>
>
>
>
>-- 
>For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
> 


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to