Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/22/10 14:08:18 (14 years ago)
Author:
epitzer
Message:

Many small improvements to DebugEngine (#47)

  • suppress logging during execution
  • add refresh button
  • optionally skip over execution stack operators
  • expand all tree views and scroll to top node
  • show operator on click on atomic operation
  • add build.cmd
File:
1 edited

Legend:

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

    r4876 r4903  
    2121
    2222using System;
    23 using System.Collections.Generic;
    24 using System.Drawing;
    2523using System.Windows.Forms;
    26 using HeuristicLab.Common.Resources;
    2724using HeuristicLab.Core;
    2825using HeuristicLab.Core.Views;
    2926using HeuristicLab.MainForm;
    30 using HeuristicLab.Persistence.Auxiliary;
    3127namespace HeuristicLab.DebugEngine {
    3228
     
    124120      else {
    125121        switch (Content.ExecutionState) {
    126           case ExecutionState.Started: executionStackView.SuspendUpdate(); break;
     122          case ExecutionState.Started:
     123            executionStackView.SuspendUpdate();
     124            logView.Content = null;
     125            break;
    127126          default:
     127            logView.Content = Content.Log;
    128128            executionStackView.ResumeUpdate();
    129129            operationContentView.Content = new OperationContent(Content.CurrentOperation);
     
    145145    private void stepButton_Click(object sender, EventArgs e) {
    146146      Content.Step();
     147      while (skipStackOpsCheckBox.Checked && !(Content.CurrentOperation is IAtomicOperation) && Content.CanContinue)
     148        Content.Step();
     149    }
     150
     151    private void refreshButton_Click(object sender, EventArgs e) {
     152      var content = Content;
     153      Content = null;
     154      Content = content;
    147155    }
    148156
Note: See TracChangeset for help on using the changeset viewer.