Free cookie consent management tool by TermsFeed Policy Generator

Changeset 4827 for branches


Ignore:
Timestamp:
11/17/10 14:45:24 (14 years ago)
Author:
epitzer
Message:

Prevent stepping execution on empty execution stack (#47)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.DebugEngine/DebugEngine.cs

    r4753 r4827  
    106106        while (ExecutionStack.Count > 0 && ExecutionStack.Peek() == null)
    107107          ExecutionStack.Pop();
    108         ProcessNextOperation();
     108        if (ExecutionStack.Count > 0)
     109          ProcessNextOperation();
    109110      }
    110111      ExecutionTime += DateTime.Now - lastUpdateTime;
Note: See TracChangeset for help on using the changeset viewer.