Changeset 15368 for trunk/sources
- Timestamp:
- 09/18/17 12:26:37 (7 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.ParallelEngine/3.3/ParallelEngine.cs
r14185 r15368 102 102 Parallel.ForEach(stacks, parallelOptions, Run); 103 103 } 104 catch ( OperationCanceledException ex) {104 catch (Exception ex) { 105 105 OperationCollection remaining = new OperationCollection() { Parallel = true }; 106 106 for (int i = 0; i < stacks.Length; i++) { … … 115 115 } 116 116 if (remaining.Count > 0) executionStack.Push(remaining); 117 throw ex;117 throw; 118 118 } 119 119 } else { … … 132 132 } 133 133 if (next != null) executionStack.Push(next); 134 135 if (operation.Operator.Breakpoint) {136 string message = string.Format("Breakpoint: {0}", operation.Operator.Name != string.Empty ? operation.Operator.Name : operation.Operator.ItemName);137 Log.LogMessage(message);138 throw new OperationCanceledException(message);139 }140 134 } 141 135 } -
trunk/sources/HeuristicLab.SequentialEngine/3.3/SequentialEngine.cs
r14185 r15368 66 66 } 67 67 if (next != null) ExecutionStack.Push(next); 68 69 if (operation.Operator.Breakpoint) {70 Log.LogMessage(string.Format("Breakpoint: {0}", operation.Operator.Name != string.Empty ? operation.Operator.Name : operation.Operator.ItemName));71 Pause();72 }73 68 } 74 69 }
Note: See TracChangeset
for help on using the changeset viewer.