10.07.2015 Views

Programming Guide - Actian

Programming Guide - Actian

Programming Guide - Actian

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

How You Can Monitor a Running ApplicationIn addition to the names and argument values for frames and procedures, theCall Stack display provides other useful information:• When a frame is opened with an openframe statement so that it is the firstframe on the call stack, the name of the calling frame and its threadidentification are displayed.• The current frame is always shown as the last item on the call stack even ifit was started with a gotoframe statement. If a frame is started with agotoframe statement, it replaces the last frame or procedure on the stackthat was started with a call statement. If the last frame on the stackresulted from a series of gotoframe statements with no intervening calls,expanding the information for the frame provides a summary of theprevious gotoframe statements.• When you click an icon associated with a frame, any attributes passedusing a with clause are displayed along with any parameters that werepassed. An attribute passed using a with clause can be distinguished froman argument because “WITH” appears at the beginning of the line.• If an argument was passed by reference, the description of the argumentends with “,BYREF.”Event Queue WindowThe Event Queue window lets you examine the queue of events waiting for aframe and to manipulate the queue by deleting and adding events.Event Queue CommandTo open the Event Queue window for a thread, use any of the followingmethods:• In the Debugger window, click Tools, Event Queue.• In the Debugger window, click the Event Queue toolbar button.• In the Thread Map portlet of the Monitor tab, right-click the thread box andselect Event Queue from the pop-up menu.The Event Queue window shows all the user and database events queued for agiven frame. When you select an event in the list, information about theselected event is displayed on the right side of the window.462 <strong>Programming</strong> <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!