mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Cache the stackframes to reduce the chatting between
GDB.
This commit is contained in:
parent
05b2b962c1
commit
a90de5234d
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue