Browse Source

Fixed null reference exception when debugger is running.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3584 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Siegfried Pammer 17 years ago
parent
commit
213abd0b2a
  1. 6
      src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/IsBreakpointCondition.cs

6
src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/IsBreakpointCondition.cs

@ -141,8 +141,10 @@ namespace Debugger.AddIn
} }
} }
foreach (string item in BreakpointAction.GetNames(typeof(BreakpointAction))) { if (point != null) {
items.Add(MakeItem("${res:MainWindow.Windows.Debug.Conditional.Breakpoints." + item + "}", item, point, point.Action.ToString(), delegate(object sender, EventArgs e) {HandleItem(sender);})); foreach (string item in BreakpointAction.GetNames(typeof(BreakpointAction))) {
items.Add(MakeItem("${res:MainWindow.Windows.Debug.Conditional.Breakpoints." + item + "}", item, point, point.Action.ToString(), delegate(object sender, EventArgs e) {HandleItem(sender);}));
}
} }
return items.ToArray(); return items.ToArray();

Loading…
Cancel
Save