Changeset 4746
- Timestamp:
- 11/08/10 15:53:45 (14 years ago)
- Location:
- branches/HeuristicLab.DebugEngine
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.DebugEngine/DebugEngineView.Designer.cs
r4743 r4746 151 151 this.scopeTreeView.Size = new System.Drawing.Size(247, 143); 152 152 this.scopeTreeView.TabIndex = 0; 153 this.scopeTreeView.NodeMouseDoubleClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.scopeTreeView_NodeMouseDoubleClick); 153 154 // 154 155 // stepButton -
branches/HeuristicLab.DebugEngine/DebugEngineView.cs
r4743 r4746 116 116 if (atom.Operator.Breakpoint) 117 117 node.ForeColor = Color.Red; 118 foreach (var param in atom.Operator.Parameters) { 119 IItem value = null; 120 try { 121 value = param.ActualValue; 122 } catch (Exception) { } 123 TreeNode paramNode = node.Nodes.Add(string.Format("Param {0}={1}", param.Name, value)); 124 paramNode.Tag = param; 125 } 118 126 } else if (op is OperationCollection) { 119 127 OperationCollection ops = op as OperationCollection; … … 128 136 TreeNode node = nodes.Add(scope.Name); 129 137 foreach (var var in scope.Variables) { 130 node.Nodes.Add(string.Format("{0}={1}", var.Name, var.Value.ToString())); 138 TreeNode varNode = node.Nodes.Add(string.Format("{0}={1}", var.Name, var.Value.ToString())); 139 varNode.Tag = var.Value; 131 140 } 132 141 foreach (var subScope in scope.SubScopes) { … … 152 161 executionStackTreeView.SelectedNode = null; 153 162 } 163 IParameter param = e.Node.Tag as IParameter; 164 if (param != null) 165 MainFormManager.MainForm.ShowContent(param); 154 166 } 155 167 } … … 158 170 UpdateView(); 159 171 } 172 173 private void scopeTreeView_NodeMouseDoubleClick(object sender, TreeNodeMouseClickEventArgs e) { 174 if (e.Node.Tag != null) 175 MainFormManager.MainForm.ShowContent((IItem)e.Node.Tag); 176 } 160 177 } 161 178 } -
branches/HeuristicLab.DebugEngine/DebugEngineView.resx
r4743 r4746 122 122 <value> 123 123 iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 124 YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALD QAA125 Cw 0B7QfALAAAAXxJREFUOE9j+P//PwM6Tuh5woZNHJsYhmaQIqABpkDMQowhWA0onPX8f/zkt/bohoDE124 YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALDAAA 125 CwwBP0AiyAAAAXxJREFUOE9j+P//PwM6Tuh5woZNHJsYhmaQIqABpkDMQowhWA0onPX8f/zkt/bohoDE 126 126 G+Y9/xXb8fANzHCsBuTOfPY/ofve/7gJr72QvQMSX3Xk/f/w9gdA/RCvYzUgY8rT//P2//4f1HDzL9CA 127 127 bJghIPGF+z78D264ht8AoIb/s/f9+t+59e9/t9LL/4H8PJAhIPFpW97/96++gN+AyK5H/6ds+/W/ZOnf … … 135 135 <value> 136 136 iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 137 YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAAL EAAA138 C xABrSO9dQAAAkNJREFUOE+d0l1IU2EYB/AZXSR0GV10bRclXWRdRB8kk5TIMV3iFgWC1FhgZbNlBNY2137 YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALDwAA 138 Cw8BkvkDpQAAAkNJREFUOE+d0l1IU2EYB/AZXSR0GV10bRclXWRdRB8kk5TIMV3iFgWC1FhgZbNlBNY2 139 139 KqEwzbkMwpVzKyoWeswuXNOWy8yZ8zPXyMlcbbbvj+NZ24x/74JC7BjSgQfOxfv+zv95zpMFgKN60LW+ 140 140 KH9X0ez8At/1xb8tGqc3B4KRjRuysz/lbM1rquBtpzirPRmg941Nrm6nxrpMQwmj9SOMU07cowZwsUkP
Note: See TracChangeset
for help on using the changeset viewer.