Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 40 Testing and Debugging Projects : Preparing to Run (Test) or Debug a Project

Preparing to Run (Test) or Debug a Project
You can do these tasks in any order. For information on setting up Tester Preferences, see Tester Preferences.
 
Build an EAR File
1.
2.
If you want to build an EAR with debug information, check the Generate Debug Info checkbox (checked by default).
3.
4.
Create Test Data (as Desired)
You can create test data for use across multiple sessions, or you can provide rule input data while the engine is running. See Creating and Working With Test Data.
For Remote Debugging Only, Configure Java Debug Interface (JDI)
To configure for remote debugging you configure the be-engine.tra file on the remote engine so the engine uses Java Debug Interface (JDI) for remote debugging.
You then configure a debug configuration for remote debugging, as explained in Adding and Working with Launch (Debug or Run) Configurations. You must specify the same JDI port number in the TRA file and in the debug configuration.
To Configure Java Debug Interface (JDI)
For each TIBCO BusinessEvents engine you want to enable for remote debugging, do the following.
1.
Open the BE_HOME/bin/be-engine.tra file for editing.
2.
tibco.env.JDI_PORT 5192
Where 5192 is the default value. If multiple engines run on the same machine, ensure that each has a unique port.
3.
-Xrunjdwp:transport=dt_socket,address=%JDI_PORT%,suspend=na,server=y
4.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved