Debugging Java programs in the Distributed Application Developer s
Debugging Java programs in the Distributed Application Developer s Guide. For more information on CodeInsight and syntax highlighting, see The JBuilder environment in Building Applications with JBuilder. Debugging You may debug a file or a whole project. You may compile before debugging or not. To choose whether to compile before debugging, choose Project|Project Properties and select the Run tab. Use the Compile Before Debugging check box at the bottom of the dialog. In JBuilder Professional, you can choose whether and how to use Smart Step. In JBuilder Enterprise, you can choose to enable remote debugging and to make appropriate settings. To do either of these, choose Project|Project Properties and select the Debug tab. To debug a file, right-click on it in the project pane and choose Debug from the context menu. To set a breakpoint in the source code, either choose Run|Add Breakpoint, click in the gray margin to the left of an executable line of code in the source file, or use the keystroke sequence for your chosen editor emulation. To debug a project, follow these steps: 1 Open your project. 2 Select Project|Project Properties. Choose the Run tab and decide whether JBuilder should compile before debugging. 3 To set a breakpoint in the source code, either choose Run|Add Breakpoint, click in the gray margin to the left of an executable line of code in the source file, or use the keystroke sequence for your chosen editor emulation. 4 Choose Run|Debug Project or click the Debug icon in the toolbar. The compiler and debugger work the same way on both files and projects: If you have set JBuilder to compile before debugging, then any compiler errors will show on the compiler page in the message pane at the bottom of the AppBrowser. You may click the error message to go to the relevant line of code. If you have disabled the compiler, or if there are no errors, the debugger will show in the message pane. Use your tool tip on the left-hand tabs to see the kinds of information the debugger provides: 7-4 Learning Java with JBuilder
Note: If you are looking for good and high quality web space to host and run your application check Lunarwebhost Java Web Hosting services