Programming Tools Guide
Chapter 6, dbXtra and dbxtra

Traversing the call stack

Traversing the call stack

You can see from the stack trace that cardsleft is passed to Deal() by deal_hands(). Let's go there:

   (dbxtra) up

Notice that the source window has changed. The filename is still deal.c, but the current function is now deal_hands(). The window now shows the code from deal_hands() with line 49 marked with an arrow.