blob: 5f2b52053306df023bba635907246574ae84598e [file] [log] [blame]
<!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, 2015. 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>
Re-launching a program
</title>
</head>
<body>
<h1>
Re-launching a program
</h1>
<p>
The workbench keeps a history of each launched and debugged program. To
relaunch a program, do one of the following:
</p>
<ul>
<li>
Select a previous launch from <strong>Run</strong> or <strong>Debug</strong> button pull-down menus.
</li>
<li>
From the menu bar, select <strong>Run</strong> &gt; <strong>Run History</strong> or <strong>Run</strong> &gt; <strong>Debug History</strong> and select a previous launch
from these sub-menus.
</li>
<li>
In the <a href="../reference/views/debug/ref-debug_view.htm"><strong>Debug View</strong></a>, select a process that you want to relaunch, and select <strong><a href="../reference/views/debug/ref-relaunch.htm">Relaunch</a></strong> from the process's pop-up menu. </li>
</ul>
<p>
To relaunch , do one of the following:
</p>
<ul>
<li>
Click the <strong>Run</strong> or <strong>Debug</strong> buttons
(without using the button pull-down menu).
</li>
<li> Select <strong>Run</strong> &gt; <strong>Run Last Launched</strong> (<kbd>Ctrl+F11</kbd>),
or <strong>Run</strong> &gt; <strong>Debug Last Launched</strong> (<kbd>F11</kbd>)
from the workbench menu bar.
</li>
</ul>
<p>
Preference can be set in the <strong>Launch Operation </strong> section under <strong>Window</strong>&gt;<Strong>Preferences</strong> &gt;<strong> Run/Debug</strong> &gt; <strong>Launching</strong> to launch previously launched application or active editor.
</p>
<h3 class="related">Related tasks</h3>
<a href="task-launching_java_program.htm">Launching a Java program</a><br>
<a href="task-running_and_debugging.htm">Running and debugging</a>
<h3 class="related">Related references</h3>
<a href="../reference/views/debug/ref-debug_view.htm">Debug view</a><br>
<a href="../reference/views/debug/ref-relaunch.htm">Relaunch command</a><br>
<a href="../reference/views/debug/ref-terminaterelaunch.htm">Terminate and Relaunch command</a>
</body>
</html>