Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# Setting Breakpoints in Rules and Rule Functions

Setting breakpoints is an Eclipse feature. This section provides only basic information. You can also use advanced features such as importing and exporting breakpoints, and using class prepare breakpoints. See Eclipse help for more details about all breakpoint functionality. You can set or change breakpoints during a debug session also.

Note: You cannot step through custom Java code.

Procedure
1. In TIBCO BusinessEvents Studio, open the source editor for a rule or rule function.

   You can work with breakpoints in the debugger perspective as well as in the TIBCO BusinessEvents Studio development perspective.

2. To add a breakpoint put your cursor in the left margin (gray area) next to a row where you want to add a breakpoint. Perform one of the following steps.
   Right-click and select Toggle Breakpoint.
   Double-click in the left margin.

   A breakpoint icon appears in the left margin:

3. Set and adjust breakpoints as needed. Select a breakpoint, right-click, and perform any of the following steps.
   To disable a breakpoint, select Disable.
   To remove a breakpoint, select Toggle Breakpoint. Or you can double-click the breakpoint.
   To edit a breakpoint’s properties, select Breakpoint properties. A dialog displays (with mostly runtime options). For example, you can use a class prepare breakpoint (so the running program is suspended when the specified class or interface is first loaded by the Java VM).

   A breakpoint may not be set exactly where you place it. This is because TIBCO BusinessEvents ensures that breakpoints fall on an executable statement, and moves any that do not to the nearest executable statement.

   Note: Executing step code line does not match rule editor code line
   This situation happens when there is a mismatch between the debug line information stored in the EAR, and the information in the open rule editor. To resolve the problem, recompile the EAR file.

Did you find this helpful?

YesNo
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO BusinessEvents® Enterprise Edition

Copyright © 2004-2024. Cloud Software Group, Inc. All Rights Reserved.