mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 18:26:01 +02:00
Bug fix in method getVariableObjects()
This commit is contained in:
parent
74a7160ba2
commit
ddb735e6eb
1 changed files with 2 additions and 0 deletions
|
@ -396,6 +396,8 @@ public class VariableManager extends SessionObject implements ICDIVariableManage
|
|||
ICDIVariableObject[] locals = getLocalVariableObjects(frame);
|
||||
ICDIVariableObject[] args = getArgumentObjects(frame);
|
||||
ICDIVariableObject[] vars = new ICDIVariableObject[locals.length + args.length];
|
||||
System.arraycopy(locals, 0, vars, 0, locals.length);
|
||||
System.arraycopy(args, 0, vars, locals.length, args.length);
|
||||
return vars;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue