1
0
Fork 0
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:
Alain Magloire 2003-03-13 20:12:22 +00:00
parent 84e92544c1
commit 544ec582b1

View file

@ -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)
*/