Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/29/10 17:15:24 (13 years ago)
Author:
epitzer
Message:

Create own class for OperatorTrace, remove unnecessary event handlers, prevent flickering while stepping, permanently highlight execution context's scope (#47)

File:
1 edited

Legend:

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

    r4947 r4993  
    6060      Log = new Log();
    6161      ExecutionStack = new ExecutionStack();
    62       OperatorTrace = new ItemList<IOperator>();
     62      OperatorTrace = new OperatorTrace();
    6363      operatorParents = new Dictionary<IAtomicOperation, IAtomicOperation>();
    6464      pausePending = stopPending = false;
     
    8585    [Storable]
    8686    public ExecutionStack ExecutionStack { get; protected set; }
     87
     88    [Storable]
     89    public OperatorTrace OperatorTrace { get; private set; }
    8790
    8891    private bool pausePending, stopPending;
     
    113116    }
    114117
    115     [Storable]
    116     public ItemList<IOperator> OperatorTrace { get; private set; }
    117118
    118119    [Storable]
     
    293294        }
    294295        trace.Reverse();
    295         OperatorTrace.Clear();
    296         OperatorTrace.AddRange(trace);
     296        OperatorTrace.ReplaceAll(trace);
    297297      }
    298298    }
Note: See TracChangeset for help on using the changeset viewer.