mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 18:26:01 +02:00
*** empty log message ***
This commit is contained in:
parent
dcc4938a6e
commit
24c13b9b01
1 changed files with 2 additions and 28 deletions
|
@ -223,19 +223,6 @@ public class VariableManager extends SessionObject implements ICDIVariableManage
|
||||||
throw new CDIException("Wrong variable type");
|
throw new CDIException("Wrong variable type");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @see org.eclipse.cdt.debug.core.cdi.ICDIVariableManager#getArgumentObject(ICDIStackFrame, String)
|
|
||||||
*/
|
|
||||||
public ICDIArgumentObject getArgumentObject(ICDIStackFrame stack, String name) throws CDIException {
|
|
||||||
ICDIArgumentObject[] argsObjects = getArgumentObjects(stack);
|
|
||||||
for (int i = 0; i < argsObjects.length; i++) {
|
|
||||||
if (argsObjects[i].getName().equals(name)) {
|
|
||||||
return argsObjects[i];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.cdt.debug.core.cdi.ICDIVariableManager#getArgumentObjects(ICDIStackFrame)
|
* @see org.eclipse.cdt.debug.core.cdi.ICDIVariableManager#getArgumentObjects(ICDIStackFrame)
|
||||||
*/
|
*/
|
||||||
|
@ -280,22 +267,9 @@ public class VariableManager extends SessionObject implements ICDIVariableManage
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.cdt.debug.core.cdi.ICDIVariableManager#getVariableObject(ICDIStackFrame, String)
|
* @see org.eclipse.cdt.debug.core.cdi.ICDIVariableManager#getGlobalVariableObject(String, String, String)
|
||||||
*/
|
*/
|
||||||
public ICDIVariableObject getVariableObject(ICDIStackFrame stack, String name) throws CDIException {
|
public ICDIVariableObject getGlobalVariableObject(String filename, String function, String name) throws CDIException {
|
||||||
ICDIVariableObject[] varObjects = getVariableObjects(stack);
|
|
||||||
for (int i = 0; i < varObjects.length; i++) {
|
|
||||||
if (varObjects[i].getName().equals(name)) {
|
|
||||||
return varObjects[i];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @see org.eclipse.cdt.debug.core.cdi.ICDIVariableManager#getVariableObject(String, String, String)
|
|
||||||
*/
|
|
||||||
public ICDIVariableObject getVariableObject(String filename, String function, String name) throws CDIException {
|
|
||||||
if (filename == null) {
|
if (filename == null) {
|
||||||
filename = new String();
|
filename = new String();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue