1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

Cache the stackframes to reduce the chatting between

GDB.
This commit is contained in:
Alain Magloire 2004-01-23 05:04:20 +00:00
parent 05b2b962c1
commit a90de5234d

View file

@ -224,7 +224,7 @@ public class Thread extends CObject implements ICDIThread {
}
}
}
List list = currentFrames.subList(low, high);
List list = ((high - low + 1) <= currentFrames.size()) ? currentFrames.subList(low, high + 1) : currentFrames;
return (ICDIStackFrame[])list.toArray(noStack);
}