1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Bug 103917: NPE in Variables View.

This commit is contained in:
Mikhail Khodjaiants 2005-07-14 21:45:57 +00:00
parent 27cfada85a
commit 8b13067b55
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2005-07-14 Mikhail Khodjaiants
Bug 103917: NPE in Variables View.
* AbstractCValue.java
2005-07-14 Mikhail Khodjaiants
Bug 103784: NPE in source lookup.
* CSourceLookupDirector.java

View file

@ -40,7 +40,7 @@ public abstract class AbstractCValue extends CDebugElement implements ICValue {
* @see org.eclipse.cdt.debug.core.model.ICValue#evaluateAsExpression(org.eclipse.cdt.debug.core.model.ICStackFrame)
*/
public String evaluateAsExpression( ICStackFrame frame ) {
String valueString = null;
String valueString = ""; //$NON-NLS-1$
AbstractCVariable parent = getParentVariable();
if ( parent != null ) {
if ( frame != null && frame.canEvaluate() ) {