aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Henrique Barboza2012-01-24 08:19:03 (EST)
committerDaniel Henrique Barboza2012-03-02 06:36:57 (EST)
commit664669d5da4f2d743e6f7b6fc533a28390b8de1e (patch)
tree37f0ff5385bb65d08770e1915f641a2244465ecf
parent92df9f0dda56d596fb7dfce33710e3b719163ee9 (diff)
downloadorg.eclipse.linuxtools-664669d5da4f2d743e6f7b6fc533a28390b8de1e.zip
org.eclipse.linuxtools-664669d5da4f2d743e6f7b6fc533a28390b8de1e.tar.gz
org.eclipse.linuxtools-664669d5da4f2d743e6f7b6fc533a28390b8de1e.tar.bz2
Fixing bug #363510
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.cachegrind/src/org/eclipse/linuxtools/internal/valgrind/cachegrind/CachegrindToolPage.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.cachegrind/src/org/eclipse/linuxtools/internal/valgrind/cachegrind/CachegrindToolPage.java b/valgrind/org.eclipse.linuxtools.valgrind.cachegrind/src/org/eclipse/linuxtools/internal/valgrind/cachegrind/CachegrindToolPage.java
index 7c2719e..c47bdba 100644
--- a/valgrind/org.eclipse.linuxtools.valgrind.cachegrind/src/org/eclipse/linuxtools/internal/valgrind/cachegrind/CachegrindToolPage.java
+++ b/valgrind/org.eclipse.linuxtools.valgrind.cachegrind/src/org/eclipse/linuxtools/internal/valgrind/cachegrind/CachegrindToolPage.java
@@ -204,10 +204,13 @@ public class CachegrindToolPage extends AbstractLaunchConfigurationTab
}
public void initializeFrom(ILaunchConfiguration config) {
- try {
+ isInitializing = true;
+
+ try
+ {
cacheButton.setSelection(config.getAttribute(CachegrindLaunchConstants.ATTR_CACHEGRIND_CACHE_SIM, CachegrindLaunchConstants.DEFAULT_CACHEGRIND_CACHE_SIM));
branchButton.setSelection(config.getAttribute(CachegrindLaunchConstants.ATTR_CACHEGRIND_BRANCH_SIM, CachegrindLaunchConstants.DEFAULT_CACHEGRIND_BRANCH_SIM));
-
+
i1Button.setSelection(config.getAttribute(CachegrindLaunchConstants.ATTR_CACHEGRIND_I1, CachegrindLaunchConstants.DEFAULT_CACHEGRIND_I1));
i1SizeSpinner.setSelection(config.getAttribute(CachegrindLaunchConstants.ATTR_CACHEGRIND_I1_SIZE, CachegrindLaunchConstants.DEFAULT_CACHEGRIND_I1_SIZE));
i1AssocSpinner.setSelection(config.getAttribute(CachegrindLaunchConstants.ATTR_CACHEGRIND_I1_ASSOC, CachegrindLaunchConstants.DEFAULT_CACHEGRIND_I1_ASSOC));
@@ -225,9 +228,11 @@ public class CachegrindToolPage extends AbstractLaunchConfigurationTab
l2AssocSpinner.setSelection(config.getAttribute(CachegrindLaunchConstants.ATTR_CACHEGRIND_L2_ASSOC, CachegrindLaunchConstants.DEFAULT_CACHEGRIND_L2_ASSOC));
l2LineSizeSpinner.setSelection(config.getAttribute(CachegrindLaunchConstants.ATTR_CACHEGRIND_L2_LSIZE, CachegrindLaunchConstants.DEFAULT_CACHEGRIND_L2_LSIZE));
checkL2Enablement();
+
} catch (CoreException e) {
e.printStackTrace();
}
+ isInitializing = false;
}
public void performApply(ILaunchConfigurationWorkingCopy config) {