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 Debugging an Application WorksSpecify One of the Sessions of the Current ApplicationYou can specify a session with the currently executing application in theDatabase Connections portlet of the Query tab.To specify one of the sessions of the currently executing application1. Click the plus sign (+) next to the Running Applications folder.OpenROAD displays any applications currently running.2. Click the plus sign (+) next to the running application whose databasesession you want to use.Each database session is listed by its session identifier and the database towhich that session is connected.3. Click the active database session.4. Click OK.Run a QueryYou can run a query from the Database Query portlet on the Query tab. Toissue query statements, you must be connected to a database session. Forinstructions, see one of the procedures under How You Can Specify a DatabaseSession (see page 464).To run a query1. Enter your query statement in the Database Query portlet.2. Click Run, Run.OpenROAD displays the results, if any, in the Query Results portlet.To clear the query results, select the results and press Delete.How Debugging an Application WorksThe Debugger window is where you do your source debugging. This windowdisplays the processed script of a frame or procedure.There is potentially a Debugger window for each active thread in yourapplication. The Debugger window for a thread typically appears the first timethe application encounters a break condition in the thread.You can open a Debugger window in a variety of contexts in OpenROADWorkbench. One way is described in Open the Debugger for an Application(see page 466). After it is opened, a Debugger window remains open until youclose it with File, Close or until the thread terminates.Debugging Your Application 465

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

Saved successfully!

Ooh no, something went wrong!