From 5b7521640179743e3fe1bb59d0b75bab2689d70a Mon Sep 17 00:00:00 2001 From: Mikhail Khodjaiants Date: Mon, 24 May 2004 21:36:21 +0000 Subject: [PATCH] Fix for bug 63612: Debugger Pages are not displayed. --- debug/org.eclipse.cdt.debug.ui/ChangeLog | 4 ++++ .../org/eclipse/cdt/debug/ui/CDebugUIPlugin.java | 15 +++++++-------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/debug/org.eclipse.cdt.debug.ui/ChangeLog b/debug/org.eclipse.cdt.debug.ui/ChangeLog index 0f0c3820be9..ac86b756b4d 100644 --- a/debug/org.eclipse.cdt.debug.ui/ChangeLog +++ b/debug/org.eclipse.cdt.debug.ui/ChangeLog @@ -1,3 +1,7 @@ +2004-05-24 Mikhail Khodjaiants + Fix for bug 63612: Debugger Pages are not displayed. + * CDebugUIPlugin.java + 2004-05-21 Mikhail Khodjaiants Removed dependencies on the compatibility plugin and replaced deprecated classes and methods. Warning cleanup. diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/CDebugUIPlugin.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/CDebugUIPlugin.java index edeb324fae2..2a62ddae1c1 100644 --- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/CDebugUIPlugin.java +++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/CDebugUIPlugin.java @@ -229,14 +229,13 @@ public class CDebugUIPlugin extends AbstractUIPlugin implements ISelectionListen } protected void initializeDebuggerPageMap() { - fDebuggerPageMap = new HashMap(10); - - IExtensionPoint extensionPoint= Platform.getExtensionRegistry().getExtensionPoint("CDebuggerPage"); //$NON-NLS-1$ - IConfigurationElement[] infos= extensionPoint.getConfigurationElements(); - for (int i = 0; i < infos.length; i++) { - String id = infos[i].getAttribute("debuggerID"); //$NON-NLS-1$ - fDebuggerPageMap.put(id, infos[i]); - } + fDebuggerPageMap = new HashMap( 10 ); + IExtensionPoint extensionPoint = Platform.getExtensionRegistry().getExtensionPoint( PLUGIN_ID, "CDebuggerPage" ); //$NON-NLS-1$ + IConfigurationElement[] infos = extensionPoint.getConfigurationElements(); + for( int i = 0; i < infos.length; i++ ) { + String id = infos[i].getAttribute( "debuggerID" ); //$NON-NLS-1$ + fDebuggerPageMap.put( id, infos[i] ); + } } public static void errorDialog( String message, IStatus status )