mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 01:15:29 +02:00
new method getLocalVariableObjects.
This commit is contained in:
parent
84e92544c1
commit
544ec582b1
1 changed files with 11 additions and 1 deletions
|
@ -354,7 +354,7 @@ public class VariableManager extends SessionObject implements ICDIVariableManage
|
|||
/**
|
||||
* @see org.eclipse.cdt.debug.core.cdi.ICDIVariableManager#getVariableObjects(ICDIStackFrame)
|
||||
*/
|
||||
public ICDIVariableObject[] getVariableObjects(ICDIStackFrame frame) throws CDIException {
|
||||
public ICDIVariableObject[] getLocalVariableObjects(ICDIStackFrame frame) throws CDIException {
|
||||
List varObjects = new ArrayList();
|
||||
Session session = (Session)getSession();
|
||||
ICDITarget currentTarget = session.getCurrentTarget();
|
||||
|
@ -389,6 +389,16 @@ public class VariableManager extends SessionObject implements ICDIVariableManage
|
|||
return (ICDIVariableObject[])varObjects.toArray(new ICDIVariableObject[0]);
|
||||
}
|
||||
|
||||
/**
|
||||
* @see org.eclipse.cdt.debug.core.cdi.ICDIVariableManager#getVariableObjects(ICDIStackFrame)
|
||||
*/
|
||||
public ICDIVariableObject[] getVariableObjects(ICDIStackFrame frame) throws CDIException {
|
||||
ICDIVariableObject[] locals = getLocalVariableObjects(frame);
|
||||
ICDIVariableObject[] args = getArgumentObjects(frame);
|
||||
ICDIVariableObject[] vars = new ICDIVariableObject[locals.length + args.length];
|
||||
return vars;
|
||||
}
|
||||
|
||||
/**
|
||||
* @see org.eclipse.cdt.debug.core.cdi.ICDIVariableManager#createVariable(ICDIVariableObject)
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue