blob: 70e40b9def4eae80d483c95e70bc0ad61702ccc3 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta name="copyright" content=
"Copyright (c) IBM Corporation and others 2000, 2011. 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=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type=
"text/css" />
<title>
Changing the active perspective when launching
</title>
<script language="JavaScript" src=
"PLUGINS_ROOT/org.eclipse.help/livehelp.js" type="text/javascript">
</script>
</head>
<body>
<h1>
Changing the active perspective when launching
</h1>You can control which perspective becomes active when a program is
launched and when it suspends. The setting is configurable for each launch
configuration type, for each of the launch modes it supports.
<p>
To activate a particular perspective when a program is launched, do the
following:
</p>
<ol>
<li>Open the <a class="command-link" href=
'javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.debug.ui.PerspectivePreferencePage)")'>
<img src="PLUGINS_ROOT/org.eclipse.help/command_link.svg" alt=
"Opens the Run/Debug Perspectives preference page" /> <strong>Run/Debug
&gt; Perspectives</strong></a> preference page.
</li>
<li>Select the <strong>Always</strong> option for the <strong>Open the
associated perspective when launching</strong> preference. This will
cause the perspective associated with a program to become active whenever
it is launched.
</li>
</ol>
<p>
To activate a particular perspective when a program is suspends, do the
following:
</p>
<ol>
<li>Open the <a class="command-link" href=
'javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.debug.ui.PerspectivePreferencePage)")'>
<img src="PLUGINS_ROOT/org.eclipse.help/command_link.svg" alt=
"Opens the Run/Debug Perspectives preference page" /> <strong>Run/Debug
&gt; Perspectives</strong></a> preference page.
</li>
<li>Select the <strong>Always</strong> option for the <strong>Open the
associated perspective when an application suspends</strong>
preference.&nbsp; This will cause the perspective associated with a
program to become active whenever a program suspends.
</li>
</ol>
<p>
To associate a particular perspective with a program, do the following:
</p>
<ol>
<li>Open the <a class="command-link" href=
'javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.debug.ui.PerspectivePreferencePage)")'>
<img src="PLUGINS_ROOT/org.eclipse.help/command_link.svg" alt=
"Opens the Run/Debug Perspectives preference page" /> <strong>Run/Debug
&gt; Perspectives</strong></a> preference page.
</li>
<li>Select the type of application that you would like to associate a
perspective with (for example, <strong>Java Application</strong>).
</li>
<li>For each launch mode, select the desired perspective using the combo
box.&nbsp;This will cause the perspective you choose to become active
based on your preference settings (i.e. when a program is launched and/or
when it suspends).
</li>
</ol>
<p>
If the specified perspective is not open at the time it needs to be
activated, that perspective is created.&nbsp;
</p>
<h3 class="related">Related concepts</h3>
<a href="../concepts/cdebugger.htm">Debugger</a><br />
<a href="../concepts/cremdbug.htm">Remote debugging</a><br />
<a href="../concepts/clocdbug.htm">Local debugging</a><br />
<a href="../concepts/concept-java-perspective.htm">Java perspectives</a>
<h3 class="related">Related tasks</h3>
<a href="task-running_and_debugging.htm">Running and debugging</a><br />
<a href="../tasks/tasks-executionArgs.htm">Setting execution
arguments</a><br />
<a href="task-launching_java_program.htm">Launching a Java
program</a>
<h3 class="related">Related references</h3>
<a href="../reference/views/console/ref-console_view.htm">Console
view</a><br />
<a href="../reference/preferences/run-debug/ref-run_debug.htm">Debug
preferences</a><br />
<a href="../reference/views/debug/ref-debug_view.htm">Debug
view</a><br />
<a href="../reference/menus/run/ref-menu-run.htm">Run Menu</a>
</body>
</html>