mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Implement setCurrent{Thread, StackFrame}.
This commit is contained in:
parent
0b205fd6f8
commit
b739b9bde4
2 changed files with 15 additions and 0 deletions
|
@ -71,6 +71,15 @@ public class CTarget implements ICDITarget {
|
|||
public ICDITarget getTarget() {
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @see org.eclipse.cdt.debug.core.cdi.model.ICDITarget#setCurrentThread(ICDIThread)
|
||||
*/
|
||||
public void setCurrentThread(ICDIThread cthread) throws CDIException {
|
||||
if (cthread instanceof CThread) {
|
||||
setCurrentThread((CThread)cthread);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*/
|
||||
|
|
|
@ -86,6 +86,12 @@ public class CThread extends CObject implements ICDIThread {
|
|||
/**
|
||||
* @see org.eclipse.cdt.debug.core.cdi.model.ICDIThread#setCurrentStackFrame(ICDIStackFrame)
|
||||
*/
|
||||
public void setCurrentStackFrame(ICDIStackFrame stackframe) throws CDIException {
|
||||
if (stackframe instanceof StackFrame) {
|
||||
setCurrentStackFrame((StackFrame)stackframe);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCurrentStackFrame(StackFrame stackframe) throws CDIException {
|
||||
MISession mi = getCTarget().getCSession().getMISession();
|
||||
CommandFactory factory = mi.getCommandFactory();
|
||||
|
|
Loading…
Add table
Reference in a new issue