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 Use Break ConditionsMethod Invocation Break ConditionsSet Method Invocation Break ConditionsA method invocation break condition causes the application to pass control tothe OpenROAD Debugger whenever it encounters the specified method in thecode. The Debugger receives control immediately before the statement thatinvokes the method.You set a break condition for methods on the Breakpoints: Method calls portletof the Debug tab. You can select methods from system classes or user classes.To set a break condition on a method1. Click the Develop tab and select the application in which you want to setmethod break conditions in the Applications portlet.2. Click the Debug tab.3. Click the Methods portlet tab on the right side of the Workbench window.The Breakpoints: Method calls portlet is displayed.4. Select an object type: User Classes or System Classes.If you select System Classes, a list of system classes is displayed in theClass list. If you selected User Classes, a list of user classes is displayed ifany user classes are defined for your application.When you choose a class, a list of methods defined for that class isdisplayed under Method.5. Select a method in the Methods list and then click Set Breakpoint.A breakpoint is set for the selected method.6. (Optional.) Repeat the previous two steps to set breakpoints for othermethods.Method break conditions are displayed in the Activations portlet of the Debugtab. If you want to deactivate or reactivate a break condition, select or clearthe appropriate check box in the Activations portlet.Thread Start BreakpointsA thread start breakpoint condition causes the application to pass control tothe OpenROAD Debugger when the application is first started and after eachopenframe and callframe statement that the application issues.Debugging Your Application 455

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

Saved successfully!

Ooh no, something went wrong!