| <!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"> |
| <script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"> </script> |
| <title> |
| Breakpoint Suspend Policy Option |
| </title> |
| </head> |
| <body> |
| <h1>Breakpoint Suspend Policy Option</h1> |
| <hr> |
| <p>This option is used to indicate what should be suspended when a breakpoint is hit. </p> |
| <p>There are two options for Java breakpoints:</p> |
| <ul> |
| <li>Suspend Thread, which suspends only the thread affected by the breakpoint being hit</li> |
| <li>Suspend VM which will suspend the entitre VM when the breakpoint is hit <br> |
| </li> |
| </ul> |
| <p>This option can be changed by using the <a href="../../reference/views/breakpoints/ref-properties_contextaction.htm">breakpoint properties dialog</a>, or by using the <a href="../../reference/views/breakpoints/ref-suspendpolicy_contextaction.htm">context menu</a> for the breakpoint.</p> |
| <p><img src="../../images/debug_breakpoints_ref/ref-breakpoint_suspendpolicy.PNG" alt="Breakpoint suspend policy option"></p> |
| <p>You can also change the default setting for the suspend policy for all newly created breakpoints. </p> |
| <p>To do this go to the <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.jdt.debug.ui.JavaDebugPreferencePage)")'> <img src="PLUGINS_ROOT/org.eclipse.help/command_link.png"> Java >Debug preference page</a> and change it there. </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> |