| <!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> |
| Exception Breakpoint Suspend on Subclass Option |
| </title></head> |
| <body> |
| <h1> |
| Exception Breakpoint Suspend on Subclass Option </h1> |
| <hr> |
| <p> |
| Select this option to suspend execution when the exception is a subclass of the type of exception the original breakpoint was created for.</p> |
| <p>For example:<br> |
| If we create an exception breakpoint that will suspend on all uncaught RuntimeExceptions, <em>and</em> we have suspend on subclasses selected, the breakpoint suspend for any subclass of the type RuntimeException, like for example a NullPointerException. </p> |
| <p>This option can bechanged with the <a href="../../reference/views/breakpoints/ref-properties_contextaction.htm">breakpoint properties dialog</a>, as shown below.</p> |
| <p><img src="../../images/debug_breakpoints_ref/ref-breakpoint_suspendsubclass.PNG" alt="Exception breakpoint suspend on subclass option"></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-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> |
| </body> |
| </html> |
| |
| |