Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Khodjaiants2004-03-31 19:16:19 -0500
committerMikhail Khodjaiants2004-03-31 19:16:19 -0500
commit4963455c1d317231500ceef8bb1064db9b6455be (patch)
tree76d4496113010886d713790b4f56f598fd7a46ed
parent6f76f7d81664243718fade20bda72fcd3edcb934 (diff)
downloadorg.eclipse.cdt-4963455c1d317231500ceef8bb1064db9b6455be.tar.gz
org.eclipse.cdt-4963455c1d317231500ceef8bb1064db9b6455be.tar.xz
org.eclipse.cdt-4963455c1d317231500ceef8bb1064db9b6455be.zip
Added default preferences to the C/C++ Debug preference page.
-rw-r--r--debug/org.eclipse.cdt.debug.core/ChangeLog4
-rw-r--r--debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/CDebugCorePlugin.java7
2 files changed, 4 insertions, 7 deletions
diff --git a/debug/org.eclipse.cdt.debug.core/ChangeLog b/debug/org.eclipse.cdt.debug.core/ChangeLog
index 418448434f..1aeefb5cbd 100644
--- a/debug/org.eclipse.cdt.debug.core/ChangeLog
+++ b/debug/org.eclipse.cdt.debug.core/ChangeLog
@@ -1,4 +1,8 @@
2004-03-31 Mikhail Khodjaiants
+ Added default preferences to the C/C++ Debug preference page.
+ * CDebugCorePlugin.java
+
+2004-03-31 Mikhail Khodjaiants
The Registers view has been contibuted and moved to the Eclipse platform.
To enable updating set the default value of the auto-refresh flag of the registers to true.
Remove it when the "Refresh" and "Auto-Refresh" actions are contributed.
diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/CDebugCorePlugin.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/CDebugCorePlugin.java
index 15af831964..49d59a6f20 100644
--- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/CDebugCorePlugin.java
+++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/CDebugCorePlugin.java
@@ -218,7 +218,6 @@ public class CDebugCorePlugin extends Plugin
public void startup() throws CoreException
{
super.startup();
- initDefaultPreferences();
resetBreakpointsInstallCount();
setSessionManager( new SessionManager() );
}
@@ -275,10 +274,4 @@ public class CDebugCorePlugin extends Plugin
{
return SourceUtils.getCommonSourceLocationsFromMemento( CDebugCorePlugin.getDefault().getPluginPreferences().getString( ICDebugConstants.PREF_SOURCE_LOCATIONS ) );
}
-
- private void initDefaultPreferences()
- {
- // for now
- CDebugCorePlugin.getDefault().getPluginPreferences().setDefault( ICDebugConstants.PREF_REGISTERS_AUTO_REFRESH, true );
- }
}

Back to the top