- Timestamp:
- 05/04/17 17:19:35 (8 years ago)
- Location:
- branches/PersistenceReintegration/HeuristicLab.DebugEngine/3.3
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PersistenceReintegration/HeuristicLab.DebugEngine/3.3/DebugEngine.cs
r14185 r14927 26 26 using HeuristicLab.Common; 27 27 using HeuristicLab.Core; 28 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;28 using HeuristicLab.Persistence; 29 29 30 30 namespace HeuristicLab.DebugEngine { 31 31 32 [Storable Class]32 [StorableType("671a070c-deca-445a-af74-2249f4825739")] 33 33 [Item("Debug Engine", "Engine for debugging algorithms.")] 34 34 public class DebugEngine : Executable, IEngine { … … 161 161 while (skipStackOperations && !(CurrentOperation is IAtomicOperation) && CanContinue) 162 162 ProcessNextOperation(true, cancellationTokenSource.Token); 163 } 164 catch (Exception ex) { 163 } catch (Exception ex) { 165 164 OnExceptionOccurred(ex); 166 165 } … … 182 181 try { 183 182 t.Wait(); 184 } 185 catch (AggregateException ex) { 183 } catch (AggregateException ex) { 186 184 try { 187 185 ex.Flatten().Handle(x => x is OperationCanceledException); 188 } 189 catch (AggregateException remaining) { 186 } catch (AggregateException remaining) { 190 187 if (remaining.InnerExceptions.Count == 1) OnExceptionOccurred(remaining.InnerExceptions[0]); 191 188 else OnExceptionOccurred(remaining); … … 250 247 ProcessNextOperation(false, cancellationToken); 251 248 cancellationToken.ThrowIfCancellationRequested(); 252 } 253 finally { 249 } finally { 254 250 timer.Stop(); 255 251 ExecutionTime += DateTime.UtcNow - lastUpdateTime; … … 317 313 } 318 314 CurrentOperation = null; 319 } 320 catch (Exception ex) { 315 } catch (Exception ex) { 321 316 if (ex is OperationCanceledException) throw ex; 322 317 else throw new OperatorExecutionException(operation.Operator, ex); -
branches/PersistenceReintegration/HeuristicLab.DebugEngine/3.3/ExecutionStack.cs
r14185 r14927 25 25 using HeuristicLab.Common; 26 26 using HeuristicLab.Core; 27 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;27 using HeuristicLab.Persistence; 28 28 29 29 namespace HeuristicLab.DebugEngine { 30 30 31 [Storable Class]31 [StorableType("bbc83e7d-49eb-4323-935f-73f674d7aa4f")] 32 32 public class ExecutionStack : ObservableList<IOperation>, IContent, IDeepCloneable { 33 33 -
branches/PersistenceReintegration/HeuristicLab.DebugEngine/3.3/HeuristicLab.DebugEngine-3.3.csproj
r14926 r14927 129 129 <Private>False</Private> 130 130 </ProjectReference> 131 <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj"> 132 <Project>{102BC7D3-0EF9-439C-8F6D-96FF0FDB8E1B}</Project> 133 <Name>HeuristicLab.Persistence-3.3</Name> 134 </ProjectReference> 131 135 <ProjectReference Include="..\..\HeuristicLab.Persistence\4.0\HeuristicLab.Persistence-4.0.csproj"> 132 136 <Project>{b1663091-8156-4deb-9e37-5b19810a4644}</Project> -
branches/PersistenceReintegration/HeuristicLab.DebugEngine/3.3/OperatorTrace.cs
r14185 r14927 26 26 using HeuristicLab.Common; 27 27 using HeuristicLab.Core; 28 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;28 using HeuristicLab.Persistence; 29 29 30 30 namespace HeuristicLab.DebugEngine { 31 31 32 [Storable Class]32 [StorableType("049f12b3-6bd2-4c47-bbbd-b05083d34d0a")] 33 33 public class OperatorTrace : ObservableList<IOperator>, IContent, IDeepCloneable { 34 34
Note: See TracChangeset
for help on using the changeset viewer.