Appendix F Working With Rule Debugger : Running Rule Debugger

Running Rule Debugger
You can run Rule Debugger from the command line. You can also run it from TIBCO Designer, when a BusinessEvents project is open.
In both cases, once Rule Debugger is displayed, you can use the Launch Rule Debugger button or select Debug > Launch to start a new Rule Debugger session with the same or a different configuration profile. You can then switch between the application tabs to work with each application.
This section explains the basic procedure for running Rule Debugger. Before you can use Rule Debugger, however, you must configure a profile specifying details of the application you want to debug. The procedures in this section refer to the procedure for setting up profiles, where you can find more detailed information.
To Run Rule Debugger From the Command Line
1.
BE_HOME/bin/be-tools
You see the Rule Analyzer user interface, which displays by default.
2.
Click the Debugger button (at the bottom left of the user interface).
The Rule Debugger and Profiles options are now available from the menu.
The next step is to configure one or more profiles. Profiles provide information about the application you want to debug. To begin debugging, you will launch a Rule Debugger session with a profile. See Configuring Rule Debugger Profiles.
If your profile is ready to use, see To Start a Rule Debugger Session—After Configuring Profiles for the next step.
To Run Rule Debugger From TIBCO Designer
In the context of TIBCO Designer, you can always run Rule Debugger when you select the project’s EAR resource. If the focus is elsewhere in the project, you can run Rule Debugger only when there are no changes to the BusinessEvents project since the last time the EAR file was built. If the tool is unavailable from the menu, rebuild the EAR file to make it available or select the EAR file resource.
With the desired project open in TIBCO Designer, do the following.
1.
2.
Click Tools > BusinessEvents Tools and select > Rule Debugger
Right-click on an EAR resource and select Tools or Multiuser > BusinessEvents Tools and select > Rule Debugger
You see the Rule Debugger user interface, displaying the application. The console window shows activity in the engine.
If you want to run additional sessions from within Rule Debugger, you must configure one or more profiles. See Configuring Rule Debugger Profiles.
If your profile is ready to use, see To Start a Rule Debugger Session—After Configuring Profiles for the next step.
To Start a Rule Debugger Session—After Configuring Profiles
You can launch Rule Debugger from a BusinessEvents application open in TIBCO Designer without specifying a profile. See To Run Rule Debugger From TIBCO Designer for details.
But for all other cases, you must start a Rule Debugger session using a profile that specifies details about the application you want to debug. For details on adding and modifying profiles, see Configuring Rule Debugger Profiles.
If the profile you want to use has been configured, then follow this procedure after you have started Rule Debugger. (See To Run Rule Debugger From the Command Line and To Run Rule Debugger From TIBCO Designer for startup details.)
1.
 
You see the Launch Debugger with Configurations dialog.
2.
Click Run to run the debugger without pausing between execution of each rule.
Click Step to run the debugger in step mode, pausing between execution of each rule.
You see the Rule Debugger user interface, displaying the application. The console window shows activity in the engine.
Note that you can launch and run multiple debugger sessions in one BusinessEvents Tools instance. Each session is displayed on a separate tab.