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 © 2013
Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.