| <!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"> |
| <script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js" type="text/javascript"> </script> |
| <title>Breakpoint Suspend Policy</title> |
| </head> |
| <body> |
| <h1>Breakpoint Suspend Policy</h1> |
| <p>The <strong>Suspend Policy</strong> 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 - suspends only the thread that encountered the breakpoint</li> |
| <li>Suspend VM - suspends the entire VM when the breakpoint is encountered<br> |
| </li> |
| </ul> |
| <p>This option can be changed with the <a href="../../reference/views/breakpoints/ref-properties_contextaction.htm"><strong>Breakpoint Properties...</strong></a>, or by <a href="../../reference/views/breakpoints/ref-suspendpolicy_contextaction.htm">right-clicking</a> a breakpoint.</p> |
| <p><img src="images/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" alt="Opens the Java Debug preference page"> <strong>Java >Debug</strong></a> preference page and change it there. </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-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 border="0" src="../../images/ngrelr.png" alt="Related reference" > </p> |
| <p> <a href="../../reference/breakpoints/ref-enabled_option.htm">Enabled Option </a><br> |
| <a href="../../reference/breakpoints/ref-hitcount_option.htm">Hit Count</a><br> |
| </p> |
| <p> </p> |
| <p> </p> |
| </body> |
| </html> |