| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| <html> |
| <head> |
| <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> |
| Run and Debug Actions |
| </title> |
| </head> |
| <body> |
| <h1> |
| Run and debug actions |
| </h1> |
| <table border="1" cellspacing="0"> |
| <caption> |
| Run and Debug Actions |
| </caption> |
| <thead> |
| <tr> |
| <th rowspan="1" colspan="1"> |
| <p> |
| Toolbar Button |
| </p> |
| </th> |
| <th rowspan="1" colspan="1"> |
| <p> |
| Command |
| </p> |
| </th> |
| <th rowspan="1" colspan="1"> |
| Description |
| </th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <img src="../images/ref-7.gif" align="baseline" width="16" height="16" alt="Run button"> |
| </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Run |
| </p> |
| </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| This command re-launches the most recently launched application. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <img src="../images/ref-8.gif" align="baseline" width="16" height="16" alt="Debug button"> |
| </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Debug |
| </p> |
| </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| This command re-launches the most recently launched application under debugger control. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Run Menu |
| </p> |
| </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Debug Last Launched |
| </p> |
| </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| This command allows you to quickly repeat the most recent launch in debug mode (if that mode is supported). |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Run Menu |
| </p> |
| </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Run Last Launched |
| </p> |
| </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| This command allows you to quickly repeat the most recent launch in run mode (if that mode is supported). |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Run Menu |
| </p> |
| </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Run History |
| </p> |
| </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Presents a sub menu of the recent history of launch configurations launched in run mode |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Run Menu |
| </p> |
| </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Run As |
| </p> |
| </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Presents a sub menu of registered run launch shortcuts. Launch shortcuts provide support for workbench or active editor selection sensitive launching. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Run Menu |
| </p> |
| </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Run... |
| </p> |
| </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| This command realizes the launch configuration dialog to manage run mode launch configurations. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Run Menu |
| </p> |
| </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Debug History |
| </p> |
| </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Presents a sub menu of the recent history of launch configurations launched in debug mode. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Run Menu |
| </p> |
| </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Debug As |
| </p> |
| </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Presents a sub menu of registered debug launch shortcuts. Launch shortcuts provide support for workbench or active editor selection sensitive launching. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Run Menu |
| </p> |
| </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Debug... |
| </p> |
| </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| This command realizes the launch configuration dialog to manage debug mode launch configurations. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Run Menu |
| </p> |
| </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Various step commands |
| </p> |
| </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| These commands allow you to step through code being debugged. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Run Menu |
| </p> |
| </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Inspect |
| </p> |
| </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| When a thread suspends, this command uses the Expressions view to show the result of inspecting the selected expression or variable in the context of a stack frame |
| or variable in that thread. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Run Menu |
| </p> |
| </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Display |
| </p> |
| </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| When a thread suspends, this command uses the Display view to show the result of evaluating the selected expression in the context of a stack frame or variable in |
| that thread. If the current active part is a Java Snippet Editor, the result is displayed there. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Run Menu |
| </p> |
| </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Run Snippet |
| </p> |
| </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Within the context of the Java snippet editor, this command allows you to evaluate an expression but does not display a result. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Run Menu |
| </p> |
| </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Run to Line |
| </p> |
| </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| When a thread is suspended, it is possible to resume execution until a specified line is executed. This is a convenient way to suspend execution at a line without |
| setting a breakpoint. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Run Menu |
| </p> |
| </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Add/Remove Breakpoint |
| </p> |
| </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| This command allows you to add or remove a Java line breakpoint at the current selected line in the active Java editor. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Run Menu |
| </p> |
| </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Add Java Exception Breakpoint |
| </p> |
| </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| This command allows you to create an exception breakpoint. It is possible to suspend the execution of thread or VM when an exception is thrown by specifying an |
| exception breakpoint. Execution can be suspended at locations where the exception is uncaught, caught, or both. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Run Menu |
| </p> |
| </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Add/Remove Method Breakpoint |
| </p> |
| </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| This command allows you to add or remove a method breakpoint for the current binary method. The binary method can be selected in source of a Java class file editor, |
| or be selected in any other view (such as the Outline view). |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Run Menu |
| </p> |
| </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| Add/Remove Watchpoint |
| </p> |
| </td> |
| <td rowspan="1" colspan="1" valign="top" align="left"> |
| <p> |
| This command allows you to add or remove a field watchpoint for the current Java field. The field can be selected in the source of a Java editor, or be selected in |
| any other view (such as the Outline view). |
| </p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <p> |
| <img border="0" src="../images/ngrelc.gif" alt="Related concepts" width="159" height="27"> |
| </p> |
| <p> |
| <a href="../concepts/concepts-10.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.gif" alt="Related tasks" width="159" height="27"><br> |
| <br> |
| <a href="../tasks/tasks-126.htm">Running and Debugging</a><br> |
| <a href="../tasks/tasks-141.htm">Connecting to a remote VM with the Remote Java application launch configuration</a><br> |
| <a href="../tasks/tasks-144.htm">Line breakpoints</a><br> |
| <a href="../tasks/tasks-145.htm">Setting method breakpoints</a><br> |
| <a href="../tasks/tasks-147.htm">Catching exceptions</a> |
| </p> |
| <p> |
| <img border="0" src="../images/ngrelr.gif" alt="Related Reference" width="159" height="27"> |
| </p> |
| <p> |
| <a href="ref-51.htm">Debug View</a><br> |
| <a href="../reference/ref-11.htm">Debug Preferences</a><br> |
| <a href="../reference/ref-4.htm">Run and Debug actions</a> |
| </p> |
| <a href="../hglegal2003.htm"><img src="../images/ngibmcpy2003.gif" alt="Copyright (c) 2000, 2003 IBM Corporation and others. All Rights Reserved." border="0" width="324" height="14"></a> |
| </body> |
| </html> |
| |