From f309234b785be895dbbc73c8565c0a3a9af554b0 Mon Sep 17 00:00:00 2001 From: Mikhail Khodjaiants Date: Thu, 30 Apr 2009 15:18:50 +0000 Subject: Bug 274499: Add Global Variables dialog not work when the user uncheck all variables. Applied patch from Gaetano Santoro (ST). --- .../org/eclipse/cdt/debug/internal/core/CGlobalVariableManager.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'debug') 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 e6dc0ce4845..ed4afc27930 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 ); } -- cgit v1.2.3