| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> |
| <html> |
| <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>Changing the active perspective when launching</title> |
| <script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"> </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.png" alt="Opens the Run/Debug Perspectives preference page"> <strong>Run/Debug > 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.png" alt="Opens the Run/Debug Perspectives preference page"> <strong>Run/Debug > 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. 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.png" alt="Opens the Run/Debug Perspectives preference page"> <strong>Run/Debug > 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. 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. </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/cremdbug.htm">Remote debugging</a><br> |
| <a href="../concepts/clocdbug.htm">Local debugging</a><br> |
| <a href="../concepts/concepts-5.htm">Java perspectives</a> </p> |
| <p> <img border="0" src="../images/ngrelt.png" alt="Related tasks" > <br> |
| <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><br> |
| </p> |
| <p> <img border="0" src="../images/ngrelr.png" alt="Related reference" > </p> |
| <p> <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> </p> |
| </body> |
| </html> |