1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 09:25:31 +02:00

Added presentation for dummy stack frames.

This commit is contained in:
Mikhail Khodjaiants 2002-11-16 00:52:09 +00:00
parent b44541d2d1
commit 8d83066244
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2002-11-15 Mikhail Khodjaiants
Added presentation for dummy stack frames.
* CDTDebugModelPresentation.java
2002-11-13 Mikhail Khodjaiants
Added tooltips to the Memory view's tabs.
* MemoryControlArea.java

View file

@ -17,6 +17,7 @@ import org.eclipse.cdt.debug.core.ICLineBreakpoint;
import org.eclipse.cdt.debug.core.ICValue;
import org.eclipse.cdt.debug.core.ICWatchpoint;
import org.eclipse.cdt.debug.core.IDisassemblyStorage;
import org.eclipse.cdt.debug.core.IDummyStackFrame;
import org.eclipse.cdt.debug.core.IStackFrameInfo;
import org.eclipse.cdt.debug.core.IState;
import org.eclipse.cdt.debug.core.cdi.ICDIBreakpointHit;
@ -410,6 +411,11 @@ public class CDTDebugModelPresentation extends LabelProvider
label += info.getFrameLineNumber();
return label;
}
IDummyStackFrame dummy = (IDummyStackFrame)stackFrame.getAdapter( IDummyStackFrame.class );
if ( dummy != null )
{
return stackFrame.getName();
}
return stackFrame.getName();
}