mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-30 11:43:33 +02:00
Fix for bug 69085: Arrays in the Expressions view.
This commit is contained in:
parent
6b3707cfcd
commit
1d1df82897
4 changed files with 20 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2004-08-04 Mikhail Khodjaiants
|
||||||
|
Fix for bug 69085: Arrays in the Expressions view
|
||||||
|
* CArrayPartitionValue.java
|
||||||
|
|
||||||
2004-06-29 Alain Magloire
|
2004-06-29 Alain Magloire
|
||||||
|
|
||||||
Do not use the cache stackframe.
|
Do not use the cache stackframe.
|
||||||
|
|
|
@ -66,7 +66,7 @@ public class CArrayPartitionValue extends CDebugElement implements ICValue
|
||||||
*/
|
*/
|
||||||
public String getReferenceTypeName() throws DebugException
|
public String getReferenceTypeName() throws DebugException
|
||||||
{
|
{
|
||||||
return null;
|
return ( getParentVariable() != null ) ? getParentVariable().getReferenceTypeName() : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
|
@ -74,7 +74,7 @@ public class CArrayPartitionValue extends CDebugElement implements ICValue
|
||||||
*/
|
*/
|
||||||
public String getValueString() throws DebugException
|
public String getValueString() throws DebugException
|
||||||
{
|
{
|
||||||
return null;
|
return ""; //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
2004-08-04 Mikhail Khodjaiants
|
||||||
|
Fix for bug 69085: Arrays in the Expressions view
|
||||||
|
* CDTDebugModelPresentation.java
|
||||||
|
|
||||||
2004-07-15 Mikhail Khodjaiants
|
2004-07-15 Mikhail Khodjaiants
|
||||||
Fix for bug 70147. TVT3.0: Preferences CDT Editor has non-externalized string.
|
Fix for bug 70147. TVT3.0: Preferences CDT Editor has non-externalized string.
|
||||||
* plugin.properties
|
* plugin.properties
|
||||||
|
|
|
@ -478,6 +478,16 @@ public class CDTDebugModelPresentation extends LabelProvider implements IDebugMo
|
||||||
if ( valueString.length() > 0 ) {
|
if ( valueString.length() > 0 ) {
|
||||||
result.append( " = " ).append( valueString ); //$NON-NLS-1$
|
result.append( " = " ).append( valueString ); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
|
if ( isShowVariableTypeNames() ) {
|
||||||
|
String type = null;
|
||||||
|
try {
|
||||||
|
type = value.getReferenceTypeName();
|
||||||
|
}
|
||||||
|
catch( DebugException e ) {
|
||||||
|
}
|
||||||
|
if ( !isEmpty( type ) )
|
||||||
|
result.insert( 0, type + ' ' );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ( !expression.isEnabled() ) {
|
if ( !expression.isEnabled() ) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue