1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-06 09:16:02 +02:00

Bug 302628: Implement linking of active debug context with selection in Breakpoints view (fixed coding mistake reported by Patrick in comment 14)

This commit is contained in:
John Cortell 2010-05-20 15:40:14 +00:00
parent 75a65c4f96
commit ba8fbc6c87

View file

@ -234,7 +234,7 @@ public class BreakpointVMProvider extends AbstractVMProvider
DebugPlugin.getDefault().getBreakpointManager().removeBreakpointListener(fBreakpointsListener); DebugPlugin.getDefault().getBreakpointManager().removeBreakpointListener(fBreakpointsListener);
IWorkbenchWindow window = getPresentationContext().getWindow(); IWorkbenchWindow window = getPresentationContext().getWindow();
if (window != null) { if (window != null) {
DebugUITools.getDebugContextManager().getContextService(window).addDebugContextListener( DebugUITools.getDebugContextManager().getContextService(window).removeDebugContextListener(
fDebugContextListener); fDebugContextListener);
} }
super.dispose(); super.dispose();