Use the where command to find your current location on the stack.
where [-f] [-h] [-l] [-q] [-v] number-ID
When debugging an application that is a mixture of Java code and C JNI (Java Native Interface) code or C++ JNI code, the syntax of the where command is:
where [-f] [-q] [-v] [ thread_id ] number-ID
The where command is also useful for learning about the state of a program that has crashed and produced a core file. When this occurs, you can load the core file into dbx (see Debugging a Core File).
For more information, see where Command.