Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2007. 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>
<p> Select the <strong>Add Exception Breakpoint</strong> command [ <img src="../../../images/org.eclipse.jdt.debug.ui/elcl16/exc_catch.png" alt="Add Java Exception Breakpoint"> ] 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
    (&quot;<em>*</em> &quot; for any string and &quot;<em>?</em> &quot; for any character). </li>
  <li> In the <strong>Matching types</strong> 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>The <strong>Add Java Exception Breakpoint Dialog</strong>.</p>
<p> <img src="../../../reference/views/breakpoints/images/ref-views_breakpoint_addexceptiondialog.PNG" alt="Add Java Exception Breakpoint Dialog"></p>
<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/task-catching_exceptions.htm">Catching Java exceptions</a><br>
  <a href="../../../tasks/task-add_line_breakpoints.htm">Adding breakpoints</a><br>
  <a href="../../../tasks/task-remove_line_breakpoints.htm">Removing breakpoints</a><br>
  <a href="../../../tasks/task-launching_java_program.htm">Launching a Java program</a> <br>
  <a href="../../../tasks/task-running_and_debugging.htm">Running and debugging</a> </p>
<p><img src="../../../images/ngrelr.png" alt="Related Reference"></p>
<p> <a href="../../../reference/views/breakpoints/ref-breakpoints_view.htm">Breakpoints View</a><br>
  <a href="../../../reference/menus/run/ref-menu-run.htm">Run Menu</a> <br>
  <a href="../../../reference/breakpoints/ref-caught_option.htm">Caught Exception Option</a><br>
  <a href="../../../reference/breakpoints/ref-uncaught_option.htm">Uncaught Exception Option</a></p>
<p> <br>
</p>
</body>
</html>
New to GrepCode? Check out our FAQ X