Browse Source

Fix #359: Exception when double-clicking on "[External methods]" in Callstack Pad

pull/343/merge
Andreas Weizel 12 years ago
parent
commit
49c462f104
  1. 2
      src/AddIns/Debugger/Debugger.AddIn/Pads/CallStackPad.cs

2
src/AddIns/Debugger/Debugger.AddIn/Pads/CallStackPad.cs

@ -115,7 +115,7 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads @@ -115,7 +115,7 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads
void listView_MouseDoubleClick(object sender, MouseButtonEventArgs e)
{
CallStackItem item = listView.SelectedItem as CallStackItem;
if (item == null)
if ((item == null) || (item.Frame == null))
return;
if (item.Frame.Process.IsPaused) {

Loading…
Cancel
Save