| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| <html> |
| <head> |
| <meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." > |
| <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
| <meta http-equiv="Content-Style-Type" content="text/css"> |
| <link rel="stylesheet" href="../../../book.css" charset="ISO-8859-1" type="text/css"> |
| <title> |
| Add Java Exception Breakpoint |
| </title> |
| </head> |
| <body> |
| <h1> |
| Add Java Exception Breakpoint </h1> |
| <hr> |
| <p> |
| Select this command to add a Java exception breakpoint. </p> |
| <p>In the resulting dialog: </p> |
| <ul> |
| <li> |
| In the <strong>Choose an Exception</strong> field, type a string that is contained in the name of the exception you want to add. You can use wildcards as needed |
| ("<em>*</em> " for any string and "<em>?</em> " for any character). </li> |
| <li> |
| In the exceptions list, select the exception you want to add. </li> |
| <li> |
| Select <strong>Caught</strong> and <strong>Uncaught</strong> as needed to indicate on which exception type you want to suspend the program. </li> |
| </ul> |
| <p>Figure 1 below shows the menu item for the command, and Figure 2 show the resulting dialog described above.</p> |
| <p>Figure 1.<br> |
| <img src="../../../images/debug_breakpoints_ref/ref-views_breakpoint_addexceptionbp_action.PNG" alt="Add exception breakpopoint" border="1"> </p> |
| <p>Figure 2.<br> |
| <img src="../../../images/debug_breakpoints_ref/ref-views_breakpoint_addexceptiondialog.PNG" alt="Add exception breakpoint dialog"></p> |
| <hr> |
| <p> |
| <img border="0" src="../../../images/ngrelc.png" alt="Related concepts" > |
| </p> |
| <p> |
| <a href="../../../concepts/cbrkpnts.htm">Breakpoints</a> |
| </p> |
| <p> |
| <img border="0" src="../../../images/ngrelt.png" alt="Related tasks" > |
| </p> |
| <p><a href="../../../tasks/tasks-147.htm">Catching Java exceptions</a><br> |
| <a href="../../../tasks/tasks-144.htm">Adding breakpoints</a><br> |
| <a href="../../../tasks/tasks-144a.htm">Removing breakpoints</a><br> |
| <a href="../../../tasks/tasks-130.htm">Launching a Java program</a> <br> |
| <a href="../../../tasks/tasks-126.htm">Running and debugging</a> </p> |
| <p> </p> |
| <p> |
| <br> |
| </p> |
| |
| </body> |
| </html> |
| |