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:
parent
27cfada85a
commit
8b13067b55
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2005-07-14 Mikhail Khodjaiants
|
||||||
|
Bug 103917: NPE in Variables View.
|
||||||
|
* AbstractCValue.java
|
||||||
|
|
||||||
2005-07-14 Mikhail Khodjaiants
|
2005-07-14 Mikhail Khodjaiants
|
||||||
Bug 103784: NPE in source lookup.
|
Bug 103784: NPE in source lookup.
|
||||||
* CSourceLookupDirector.java
|
* CSourceLookupDirector.java
|
||||||
|
|
|
@ -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)
|
* @see org.eclipse.cdt.debug.core.model.ICValue#evaluateAsExpression(org.eclipse.cdt.debug.core.model.ICStackFrame)
|
||||||
*/
|
*/
|
||||||
public String evaluateAsExpression( ICStackFrame frame ) {
|
public String evaluateAsExpression( ICStackFrame frame ) {
|
||||||
String valueString = null;
|
String valueString = ""; //$NON-NLS-1$
|
||||||
AbstractCVariable parent = getParentVariable();
|
AbstractCVariable parent = getParentVariable();
|
||||||
if ( parent != null ) {
|
if ( parent != null ) {
|
||||||
if ( frame != null && frame.canEvaluate() ) {
|
if ( frame != null && frame.canEvaluate() ) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue