Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2008-05-05 14:27:21 -0400
committerDarin Wright2008-05-05 14:27:21 -0400
commit86242d208583465462bb36166c09d0472e5de3a1 (patch)
tree033af279ef70619cd2194084640d27f55fd4bad6 /org.eclipse.debug.ui
parent4e9ce6ecb5df6d3ae208cee71830e8d915c1e78f (diff)
downloadeclipse.platform.debug-86242d208583465462bb36166c09d0472e5de3a1.tar.gz
eclipse.platform.debug-86242d208583465462bb36166c09d0472e5de3a1.tar.xz
eclipse.platform.debug-86242d208583465462bb36166c09d0472e5de3a1.zip
Bug 222802 - NPE if DebugUITools.launch(...) is called on background thread
Diffstat (limited to 'org.eclipse.debug.ui')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/DebugUITools.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/DebugUITools.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/DebugUITools.java
index 509b03fdc..b7a93b56e 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/DebugUITools.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/DebugUITools.java
@@ -517,7 +517,9 @@ public class DebugUITools {
/**
* Saves and builds the workspace according to current preference settings, and
* launches the given launch configuration in the specified mode.
- *
+ * <p>
+ * This method must be called in the UI thread.
+ * </p>
* @param configuration the configuration to launch
* @param mode launch mode - run or debug
* @since 2.1

Back to the top