Deploying and Managing Apama Applications > Event Correlator Utilities Reference > Using the command-line debugger > Examining the stack with the command-line debugger
Examining the stack with the command-line debugger
When the correlator stops at a breakpoint you can display the stack with the following command:
engine_debug stack
The results of this command show the number of the frame that contains each variable. In the following example, the frame number is the number before the right parenthesis:
0 )
        C:/dev/adbc/apama-test/system/correlator-debug/testcases/
correctness/Corr_Debug_cor_002/Input/test.mon:35
        foo.baz.test.runtest[master(2)/foo.baz.test(3)]
1 )
        C:/dev/adbc/apama-test/system/correlator-debug/testcases/
correctness/Corr_Debug_cor_002/Input/test.mon:19
        foo.baz.test.::listenerAction::[master(2)/foo.baz.test(3)]
You can use these frame numbers (frame IDs) as arguments to the engine_debug inspect command.
To see just the contents of the top frame, run this command:
engine_debug stack --frame 0
Copyright © Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its Subsidiaries and or/its Affiliates and/or their licensors.
Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.