29.01.2013 Views

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Tip: Breakpoints can be set in Java and JSP resources on an executable line<br />

of a program. However, within JSPs you can only set breakpoints in Java code<br />

and tags.<br />

In the editor area, open the file where you want to add the breakpoint. Directly to<br />

the left of the line where you want to add the breakpoint, open the marker bar<br />

(vertical ruler) pop-up menu and select Add Breakpoint. You can also<br />

double-click the editor marker bar next to the source code line. A new breakpoint<br />

marker appears on the marker bar, directly to the left of the line where you added<br />

the breakpoint. Also, the new breakpoint appears in the Breakpoints view list.<br />

Note: Enabled breakpoints are indicated with a blue circle. If the enabled<br />

breakpoint is successfully installed in a class in the JVM at runtime, it is<br />

indicated with a check mark overlay.<br />

Figure 14-11 Setting a breakpoint<br />

Breakpoint properties<br />

Right-click the breakpoint in the breakpoint view, and select Breakpoint<br />

Properties from the context menu. A window opens where more detailed options<br />

about the breakpoint are displayed (Figure 14-12 on page 506).<br />

Chapter 14. Testing and debugging 505

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!