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/

Reply via email to