Apama 10.15.0 | Deploying and Managing Apama Applications | 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[setupctx(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::[setupctx(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