Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Debug/FAQ"

(What is contextual launching?)
Line 9: Line 9:
 
=== What is contextual launching? ===
 
=== What is contextual launching? ===
  
Contextual launching is the new, simpler way of launching in Eclipse.  It is the default in 3.3 M7 builds and later.  Instead of launching the last launched configuration, pressing "Run" on the toolbar or run menu will launch the current selection.  For example, if you have a Java file open in the editor, pressing "run" will launch it as a Java application.
+
Contextual launching is a new, simpler way of launching in Eclipse built using all of the familiar launching metaphors.  
 +
<br><br>
 +
In the traditional launching mode, Eclipse would simply launch the last thing that was was launched. With context launching, what gets launched is determined by what the current selection in the workbench is.  For example, if you have a Java file with a main method open in the editor, pressing "run" (or debug) will launch it as a Java application. Even if you have not created or know how to create a launch configuration for the launch, the context launching framework will create one for you (which you can edit at any time via the launch configuration dialog).
 +
<br><br>
 +
Context launching is the default method for launching in 3.3 M7 builds and later.
 +
<br><br>
 +
For interests sake there is more information in this [http://www.eclipse.org/eclipse/debug/documents/launching/context_launching/Context-launching.pdf paper on context launching].
  
 
=== How do I turn off contextual launching? ===
 
=== How do I turn off contextual launching? ===

Revision as of 10:55, 28 August 2007

Introduction

How do I contribute to this FAQ?

Simply edit this page. You will need to log in using your bugzilla username and password to gain access. If you don't have a Bugzilla account, you can create a new one.

Launching

What is contextual launching?

Contextual launching is a new, simpler way of launching in Eclipse built using all of the familiar launching metaphors.

In the traditional launching mode, Eclipse would simply launch the last thing that was was launched. With context launching, what gets launched is determined by what the current selection in the workbench is. For example, if you have a Java file with a main method open in the editor, pressing "run" (or debug) will launch it as a Java application. Even if you have not created or know how to create a launch configuration for the launch, the context launching framework will create one for you (which you can edit at any time via the launch configuration dialog).

Context launching is the default method for launching in 3.3 M7 builds and later.

For interests sake there is more information in this paper on context launching.

How do I turn off contextual launching?

If you just can't get over the old way of doing things, you can do so on the Run/Debug > Launching Preference Page. Change the Launch Operation option to "Always launch the previously launched application".

Variables View

How do I fix an IllegalArgumentException coming from the Variable View's SashForm?

This was fixed in 3.3. An invalid value is stored in the view's memento. You can clear out this value by clearing your workspace preferences, or opening <workspace loc>\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.debug.ui.prefs and changing SASH_DETAILS_PART to a value of 6 and SASH_VIEW_PART to a value of 13. See Bug 199385 for more information.

Console

Why does Eclipse sometimes hang when a lot of output is written to the console?

If you are writing a large amount of data to the Console streams from the UI thread, the console will be unable to clear the buffer. See Bug 136943

Links

Copyright © Eclipse Foundation, Inc. All Rights Reserved.