mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Stack frame should provide an adapter for IRunToLine.
This commit is contained in:
parent
8bcd0490f9
commit
ead83ba6f7
2 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
|||
2004-04-11 Mikhail Khodjaiants
|
||||
Stack frame should provide an adapter for IRunToLine.
|
||||
* CStackFrame.java
|
||||
|
||||
2004-04-08 Mikhail Khodjaiants
|
||||
Implementing retargettable actions.
|
||||
* IRunToAddress.java
|
||||
|
|
|
@ -21,6 +21,7 @@ import org.eclipse.cdt.debug.core.cdi.model.ICDIStackFrame;
|
|||
import org.eclipse.cdt.debug.core.cdi.model.ICDIVariableObject;
|
||||
import org.eclipse.cdt.debug.core.model.IRestart;
|
||||
import org.eclipse.cdt.debug.core.model.IResumeWithoutSignal;
|
||||
import org.eclipse.cdt.debug.core.model.IRunToLine;
|
||||
import org.eclipse.cdt.debug.core.model.IStackFrameInfo;
|
||||
import org.eclipse.cdt.debug.core.sourcelookup.ICSourceLocator;
|
||||
import org.eclipse.core.runtime.IAdaptable;
|
||||
|
@ -549,9 +550,8 @@ public class CStackFrame extends CDebugElement
|
|||
*/
|
||||
public Object getAdapter( Class adapter )
|
||||
{
|
||||
if ( adapter == CStackFrame.class )
|
||||
{
|
||||
return this;
|
||||
if ( adapter == IRunToLine.class ) {
|
||||
return getDebugTarget().getAdapter( adapter );
|
||||
}
|
||||
if ( adapter == IStackFrame.class )
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue