Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
6.5 Debugging user programs The Express Runtime Developer tool provides a utility to debug user programs. This comes in handy to make sure that you get the right results in your wrappers. The following actions are required to debug a solution deployment using the Debugger utility: The Express Runtime Developer and Deployment Wizard must be installed on the same machine. The source files (wrappers and java source codes) for the solution and the applications for debug must be located in the Express Runtime Developer workspace. The applications must be written in Java. The following steps describe how to debug an application as it deploys: 1. Open the Express Runtime Developer, if not already open, by selecting Start Programs IBM Express Runtime 2.1 Express Runtime Developer. 2. Select the application project and Java program you wish to debug from Package Explorer. For example, double-click SampleWinMain.java in the IRU2_1_1SampleWin project. 3. In the program source code, bring your cursor to the line where you wish to suspend execution. Right-click the left margin of the Java code and select Toggle Breakpoint (see Figure 6-74 on page 169). Alternatively, you can double-click the left margin on the line where you want to place a breakpoint.