| <!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>Execution Control Commands</title> |
| </head> |
| <body> |
| <h1> Execution Control Commands </h1> |
| <p> Execution control commands allow you to change the execution state of code being executed.</p> |
| <table border="1" cellspacing="0" cellpadding="5"> |
| <caption> |
| Java Execution Control Commands |
| </caption> |
| <thead> |
| <tr> |
| <th rowspan="1" colspan="1"> <p> Command </p></th> |
| <th rowspan="1" colspan="1"> <p> Name </p></th> |
| <th rowspan="1" colspan="1"> <p> Description </p></th> |
| <th rowspan="1" colspan="1"> <p> Availability </p></th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td rowspan="1" colspan="1" valign="top" align="left"><img src="../../../images/org.eclipse.debug.ui/elcl16/resume_co.png" align="middle" alt="Resume button"> </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"><p><strong> <a href="../../../reference/views/debug/ref-resume.htm">Resume</a> </strong></p></td> |
| <td rowspan="1" colspan="1" valign="top" align="left"><p> Resumes a suspended thread. </p></td> |
| <td>Context menu, Run menu and view action</td> |
| </tr> |
| <tr> |
| <td rowspan="1" colspan="1" valign="top" align="left"><img src="../../../images/org.eclipse.debug.ui/elcl16/stepinto_co.png" alt="Step Into button"> </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"><p><strong> <a href="../../../reference/views/debug/ref-stepinto.htm">Step Into</a> </strong></p></td> |
| <td rowspan="1" colspan="1" valign="top" align="left"><p> Steps into the highlighted statement. </p></td> |
| <td>Context menu, Run menu and view action</td> |
| </tr> |
| <tr> |
| <td rowspan="1" colspan="1" valign="top" align="left"><img src="../../../images/org.eclipse.debug.ui/elcl16/stepover_co.png" alt="Step Over button"> </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"><p><strong> <a href="../../../reference/views/debug/ref-stepover.htm">Step Over</a> </strong></p></td> |
| <td rowspan="1" colspan="1" valign="top" align="left"><p> Steps over the highlighted statement. Execution will continue |
| at the next line either in the same method or (if you are at the end of |
| a method) it will continue in the method from which the current method |
| was called. </p> |
| <p> The cursor jumps to the declaration of the method and selects this line. </p></td> |
| <td>Context menu, Run menu and view action</td> |
| </tr> |
| <tr> |
| <td rowspan="1" colspan="1" valign="top" align="left"><img src="../../../images/org.eclipse.debug.ui/elcl16/stepreturn_co.png" alt="Run to Return button"> </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"><p><strong> <a href="../../../reference/views/debug/ref-stepreturn.htm">Step Return</a> </strong></p></td> |
| <td rowspan="1" colspan="1" valign="top" align="left"><p> Steps out of the current method. This option stops execution |
| after exiting the current method. </p></td> |
| <td>Context menu, Run menu and view action</td> |
| </tr> |
| <tr> |
| <td rowspan="1" colspan="1" valign="top" align="left"><img src="../../../images/org.eclipse.debug.ui/elcl16/suspend_co.png" align="middle" alt="Suspend button"> </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"><p><strong> <a href="../../../reference/views/debug/ref-suspend.htm">Suspend</a> </strong></p></td> |
| <td rowspan="1" colspan="1" valign="top" align="left"><p> Suspends the selected thread of a target so that you can |
| browse or modify code, inspect data, step, and so on. </p></td> |
| <td>Context menu, Run menu and view action</td> |
| </tr> |
| <tr> |
| <td rowspan="1" colspan="1" valign="top" align="left"><img src="../../../images/org.eclipse.debug.ui/elcl16/terminate_co.png" align="middle" alt="Terminate button"> </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"><p><strong> <a href="../../../reference/views/debug/ref-terminate.htm">Terminate</a> </strong></p></td> |
| <td rowspan="1" colspan="1" valign="top" align="left"><p> Terminates the selected debug target. </p></td> |
| <td>Context menu, Run menu and view action</td> |
| </tr> |
| <tr> |
| <td colspan="1" valign="top" align="left"><img src="../../../images/org.eclipse.debug.ui/etool16/term_restart.png" alt="Terminate and Relaunch"></td> |
| <td colspan="1" valign="top" align="left"><a href="../../../reference/views/debug/ref-terminaterelaunch.htm"><strong>Terminate & Relaunch </strong></a></td> |
| <td colspan="1" valign="top" align="left">Terminates the selected debug target and relaunches it. </td> |
| <td>Context menu </td> |
| </tr> |
| <tr> |
| <td rowspan="1" colspan="1" valign="top" align="left"><img src="../../../images/org.eclipse.debug.ui/elcl16/terminate_rem_co.png" alt="Terminate & Remove command in context menu"></td> |
| <td rowspan="1" colspan="1" valign="top" align="left"><p><strong> <a href="../../../reference/views/debug/ref-terminateandremove.htm">Terminate & Remove </a></strong></p></td> |
| <td rowspan="1" colspan="1" valign="top" align="left"><p>Terminates the selected debug target and removes it from |
| the view. </p></td> |
| <td>Context menu</td> |
| </tr> |
| <tr> |
| <td rowspan="1" colspan="1" valign="top" align="left"><img src="../../../images/org.eclipse.debug.ui/elcl16/terminate_all_co.png" alt="Terminate All command in context menu"></td> |
| <td rowspan="1" colspan="1" valign="top" align="left"><p><strong> <a href="../../../reference/views/debug/ref-terminateall.htm">Terminate/Disconnect All</a></strong></p></td> |
| <td rowspan="1" colspan="1" valign="top" align="left"><p> Terminates all active launches in the view. </p></td> |
| <td>Context menu</td> |
| </tr> |
| </tbody> |
| </table> |
| <p>See the <a href="../../../reference/views/debug/ref-debug_view.htm"><strong>Debug View</strong></a> for more information. </p> |
| <p> <img border="0" src="../../../images/ngrelc.png" alt="Related concepts" > </p> |
| <p> <a href="../../../concepts/cdebugger.htm">Debugger</a><br> |
| <a href="../../../concepts/clocdbug.htm">Local debugging</a><br> |
| <a href="../../../concepts/cremdbug.htm">Remote debugging</a> </p> |
| <p> <img border="0" src="../../../images/ngrelt.png" alt="Related tasks" > </p> |
| <p> <a href="../../../tasks/tasks-9.htm">Changing debugger launch options</a><br> |
| <a href="../../../tasks/task-remotejava_launch_config.htm">Connecting to a remote VM with the Remote Java application launch configuration</a><br> |
| <a href="../../../tasks/task-disconnect_remote_debug.htm">Disconnecting from a VM</a><br> |
| <a href="../../../tasks/task-launching_java_program.htm">Launching a Java program</a><br> |
| <a href="../../../tasks/task-preparing_to_debug.htm">Preparing to debug</a><br> |
| <a href="../../../tasks/task-resuming_threads.htm">Resuming the execution of suspended threads</a><br> |
| <a href="../../../tasks/task-running_and_debugging.htm">Running and debugging</a><br> |
| <a href="../../../tasks/task-stepping.htm">Stepping through the execution of a program</a><br> |
| <a href="../../../tasks/task-suspending_threads.htm">Suspending threads</a> </p> |
| <p> <img border="0" src="../../../images/ngrelr.png" alt="Related reference" > </p> |
| <p> <a href="../../../reference/views/debug/ref-debug_view.htm">Debug View</a><br> |
| <a href="../../preferences/run-debug/ref-run_debug.htm">Debug preferences</a><br> |
| <a href="../../../reference/menus/run/ref-menu-run.htm">Run Menu</a> |
| </p> |
| </body> |
| </html> |