Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Cortell2007-12-07 12:06:33 -0500
committerJohn Cortell2007-12-07 12:06:33 -0500
commitc194265e35e9b98cbe34839a5fb99530100c1fbe (patch)
tree9f19939068cca61f990e15135ed3a5ec2b8a5230
parent31930963f0b99061b914dae73d4a4577e6627712 (diff)
downloadorg.eclipse.cdt-c194265e35e9b98cbe34839a5fb99530100c1fbe.tar.gz
org.eclipse.cdt-c194265e35e9b98cbe34839a5fb99530100c1fbe.tar.xz
org.eclipse.cdt-c194265e35e9b98cbe34839a5fb99530100c1fbe.zip
Fixed 212282. Don't allow variable editing if disabled.
-rw-r--r--debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CVariable.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CVariable.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CVariable.java
index 77ad1210c9..5a2ad5a2b1 100644
--- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CVariable.java
+++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CVariable.java
@@ -314,7 +314,7 @@ public abstract class CVariable extends AbstractCVariable implements ICDIEventLi
*/
public boolean supportsValueModification() {
try {
- return getCurrentInternalVariable().isEditable();
+ return fIsEnabled ? getCurrentInternalVariable().isEditable() : false;
}
catch( DebugException e ) {
}

Back to the top