Changeset 14914 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Views
- Timestamp:
- 05/03/17 12:48:46 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Views/PushDebuggerView.cs
r14897 r14914 228 228 }; 229 229 230 // align numbers right 230 231 var stackEntryType = type.GetStackEntryType(); 231 232 if (stackEntryType == typeof(double) || … … 270 271 271 272 foreach (var pair in debugControlDict) { 272 var stack = interpreter. GetStackEntriesByType<object>(pair.Key);273 var stack = interpreter.Stacks[pair.Key]; 273 274 var name = Enum.GetName(typeof(StackTypes), pair.Key); 274 275 275 pair.Value.Items.AddRange(stack. Reverse().ToArray());276 pair.Value.Items.AddRange(stack.AsObjects().Reverse().ToArray()); 276 277 ((GroupBox)pair.Value.Parent).Text = string.Format(GroupBoxTextStringFormat, name, pair.Value.Items.Count); 277 278 }
Note: See TracChangeset
for help on using the changeset viewer.