summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Khouzam2013-08-08 10:29:21 -0400
committerMarc Khouzam2013-08-08 10:36:09 -0400
commite8de12d706ce2acd99893158ba44fc2343eafdd4 (patch)
tree48ea070951b81b8978fe3f9eae20e9145af09ecd
parentb042de243aa603e14700ba95ac8d6fe34291a9d6 (diff)
downloadorg.eclipse.cdt-e8de12d706ce2acd99893158ba44fc2343eafdd4.zip
org.eclipse.cdt-e8de12d706ce2acd99893158ba44fc2343eafdd4.tar.gz
org.eclipse.cdt-e8de12d706ce2acd99893158ba44fc2343eafdd4.tar.xz
Bug 414622 - Enhanced debug hover cannot be turned off
Change-Id: Ieee6e37a5cf6451d96597e27bd028612234c4c86 Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
-rw-r--r--dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/GdbDebugTextHover.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/GdbDebugTextHover.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/GdbDebugTextHover.java
index 88120ce..ba03e8c 100644
--- a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/GdbDebugTextHover.java
+++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/GdbDebugTextHover.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2009, 2010 Wind River Systems and others.
+ * Copyright (c) 2009, 2013 Wind River Systems and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -13,6 +13,7 @@ package org.eclipse.cdt.dsf.gdb.internal.ui;
import org.eclipse.cdt.dsf.debug.ui.AbstractDsfDebugTextHover;
import org.eclipse.cdt.dsf.gdb.IGdbDebugPreferenceConstants;
+import org.eclipse.cdt.dsf.gdb.internal.GdbPlugin;
import org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate;
import org.eclipse.cdt.dsf.mi.service.MIExpressions;
import org.eclipse.core.runtime.Platform;
@@ -36,7 +37,9 @@ public class GdbDebugTextHover extends AbstractDsfDebugTextHover {
@Override
protected boolean useExpressionExplorer() {
- if (Platform.getPreferencesService().getBoolean(GdbUIPlugin.PLUGIN_ID,
+ // The preference is part of the GdbPlugin preference store
+ // Bug 414622
+ if (Platform.getPreferencesService().getBoolean(GdbPlugin.PLUGIN_ID,
IGdbDebugPreferenceConstants.PREF_USE_INSPECTOR_HOVER,
true, null)) {
return true;