10.07.2015 Views

Programming Guide - Actian

Programming Guide - Actian

Programming Guide - Actian

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

How You Can Monitor a Running ApplicationTo open the Call Stack window for a threadUse any of the following methods:• In the Debugger window for the thread, click Tools, Call Stack.• In the Debugger window, click the Call Stack toolbar button.• On the Thread Map portlet of the Monitor tab, right-click a thread box andselect Call Stack from the pop-up menu.The Call Stack window displays lists of frames and procedures in the order inwhich they are called, with the most recently called frame or procedure at thetop of the list.After being opened, a Call Stack window remains open until you close it oruntil the thread terminates.Note: While a thread is running, the Call Stack window is not updatedautomatically and does not always reflect the current state of the thread.However, you can always display the current state of the call stack by clickingFile, Snapshot in the Call Stack window.If a frame or procedure in the call stack was called with arguments, the nameof the frame or procedure in the Call Stack window is preceded by an icon. Youcan click the icon to see the arguments passed to the procedure or the framewhen it was called. If any of the arguments is an array or reference variable,the argument is displayed with an icon, and you can click the icon to expandthe display and see the values of the attributes.The values shown for the arguments are the values that are passed to thecalled frame or procedure from the calling frame or procedure. The call stackreflects any changes that the called frame or procedure makes to thefollowing:• Arguments of varchar data type• Attributes of any argument that is a reference variableWith the exception of varchar variables, the call stack does not reflect anychanges made by the called frame or procedure to arguments that have asimple data type. Additionally, if the called frame or procedure reassigns areference variable that it received as a parameter, any subsequent changes tothe attributes of that variable are not reflected in the call stack.Debugging Your Application 461

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!