Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Khodjaiants2004-03-31 23:05:05 +0000
committerMikhail Khodjaiants2004-03-31 23:05:05 +0000
commitfc5179e4770e34807a79d2a627410021a347567a (patch)
treebde7c92ebe1b9b566c13bb38cd13ba0847566d44
parent4ad9d2c33e90c0ea7c5e57295f429625c335fb58 (diff)
downloadorg.eclipse.cdt-fc5179e4770e34807a79d2a627410021a347567a.tar.gz
org.eclipse.cdt-fc5179e4770e34807a79d2a627410021a347567a.tar.xz
org.eclipse.cdt-fc5179e4770e34807a79d2a627410021a347567a.zip
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.
-rw-r--r--debug/org.eclipse.cdt.debug.core/ChangeLog6
-rw-r--r--debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/CDebugCorePlugin.java7
2 files changed, 13 insertions, 0 deletions
diff --git a/debug/org.eclipse.cdt.debug.core/ChangeLog b/debug/org.eclipse.cdt.debug.core/ChangeLog
index 2c8a2c3bcfc..418448434f4 100644
--- a/debug/org.eclipse.cdt.debug.core/ChangeLog
+++ b/debug/org.eclipse.cdt.debug.core/ChangeLog
@@ -1,3 +1,9 @@
+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.
+ * CDebugCorePlugin.java
+
2004-03-17 Alain Magloire
Changes to get some performances. The array of
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 49d59a6f20f..15af8319647 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,6 +218,7 @@ public class CDebugCorePlugin extends Plugin
public void startup() throws CoreException
{
super.startup();
+ initDefaultPreferences();
resetBreakpointsInstallCount();
setSessionManager( new SessionManager() );
}
@@ -274,4 +275,10 @@ 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