mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug 311416 - [vm][cache] Stack frames missing in debug view.
This commit is contained in:
parent
09e2717298
commit
ea4c22620a
1 changed files with 3 additions and 1 deletions
|
@ -901,7 +901,9 @@ public class MIStack extends AbstractDsfService
|
|||
// still be re-used.
|
||||
StackDepthInfo cachedDepth = fStackDepthCache.get(execDmc.getThreadId());
|
||||
if (cachedDepth != null) {
|
||||
if (cachedDepth.maxDepthRequested == 0 || cachedDepth.maxDepthRequested >= maxDepth) {
|
||||
if ((maxDepth == 0 && cachedDepth.maxDepthRequested == 0) ||
|
||||
(maxDepth != 0 && (cachedDepth.maxDepthRequested == 0 || cachedDepth.maxDepthRequested >= maxDepth)) )
|
||||
{
|
||||
rm.setData(cachedDepth.returnedDepth);
|
||||
rm.done();
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue