Skip to main content
summaryrefslogtreecommitdiffstats
path: root/debug
diff options
context:
space:
mode:
authorMikhail Khodjaiants2009-04-30 11:18:50 -0400
committerMikhail Khodjaiants2009-04-30 11:18:50 -0400
commitf309234b785be895dbbc73c8565c0a3a9af554b0 (patch)
treea9719b5361be27c02e710a5b78924e11676b885f /debug
parent3e076926e0382d0410bdd95066e3c9b67958c0b0 (diff)
downloadorg.eclipse.cdt-f309234b785be895dbbc73c8565c0a3a9af554b0.tar.gz
org.eclipse.cdt-f309234b785be895dbbc73c8565c0a3a9af554b0.tar.xz
org.eclipse.cdt-f309234b785be895dbbc73c8565c0a3a9af554b0.zip
Bug 274499: Add Global Variables dialog not work when the user uncheck all variables. Applied patch from Gaetano Santoro (ST).
Diffstat (limited to 'debug')
-rw-r--r--debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CGlobalVariableManager.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CGlobalVariableManager.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CGlobalVariableManager.java
index e6dc0ce484..ed4afc2793 100644
--- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CGlobalVariableManager.java
+++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CGlobalVariableManager.java
@@ -7,6 +7,8 @@
*
* Contributors:
* QNX Software Systems - Initial API and implementation
+ * Gaetano Santoro (gaetano.santoro@st.com): patch for
+ * https://bugs.eclipse.org/bugs/show_bug.cgi?id=274499
*******************************************************************************/
package org.eclipse.cdt.debug.internal.core;
@@ -112,8 +114,8 @@ public class CGlobalVariableManager implements ICGlobalVariableManager {
synchronized( fGlobals ) {
fGlobals.addAll( globals );
}
- getDebugTarget().fireChangeEvent( DebugEvent.CONTENT );
}
+ getDebugTarget().fireChangeEvent( DebugEvent.CONTENT );
if ( !ms.isOK() ) {
throw new DebugException( ms );
}

Back to the top