Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 13714 Details for
Bug 69085
Arrays in the Expressions view
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch to org.eclipse.cdt.debug.ui
fix-69085-ui.diff (text/plain), 1.74 KB, created by
Andrew Lewycky
on 2004-08-02 19:39:59 EDT
(
hide
)
Description:
Patch to org.eclipse.cdt.debug.ui
Filename:
MIME Type:
Creator:
Andrew Lewycky
Created:
2004-08-02 19:39:59 EDT
Size:
1.74 KB
patch
obsolete
>Index: src/org/eclipse/cdt/debug/internal/ui/CDTDebugModelPresentation.java >=================================================================== >RCS file: /home/tools/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/CDTDebugModelPresentation.java,v >retrieving revision 1.86 >diff -u -r1.86 CDTDebugModelPresentation.java >--- src/org/eclipse/cdt/debug/internal/ui/CDTDebugModelPresentation.java 21 Jun 2004 20:24:56 -0000 1.86 >+++ src/org/eclipse/cdt/debug/internal/ui/CDTDebugModelPresentation.java 2 Aug 2004 17:12:29 -0000 >@@ -37,6 +37,7 @@ > import org.eclipse.cdt.debug.core.model.ICWatchpoint; > import org.eclipse.cdt.debug.core.model.IDummyStackFrame; > import org.eclipse.cdt.debug.core.model.IState; >+import org.eclipse.cdt.debug.internal.core.model.CArrayPartitionValue; > import org.eclipse.cdt.debug.internal.ui.editors.CDebugEditor; > import org.eclipse.cdt.debug.internal.ui.editors.EditorInputDelegate; > import org.eclipse.cdt.debug.internal.ui.editors.FileNotFoundElement; >@@ -338,6 +339,9 @@ > return label.toString(); > } > } >+ if (element instanceof IValue) { >+ return getValueText((IValue) element); >+ } > if ( label.length() > 0 ) { > return label.toString(); > } >@@ -557,6 +561,15 @@ > label += (qualified ? path.toOSString() : path.lastSegment()); > return label; > } >+ >+ /** Build the text for an IValue. */ >+ private String getValueText(IValue value) throws DebugException { >+ if (value instanceof CArrayPartitionValue) { >+ return ((CArrayPartitionValue) value).getReferenceTypeName(); >+ } else { >+ return getDefaultText(value); >+ } >+ } > > /** > * Plug in the single argument to the resource String for the key to get a formatted resource String.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
cdtdoug
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 69085
:
13713
| 13714