Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Commit 19c98ee

Browse files
fix #548: 'Choose exceptiosn you want the debugger to break on' window does not have correct owner
1 parent 62b90db commit 19c98ee

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/AddIns/Debugger/Debugger.AddIn/Options/DebuggingOptionsPanel.xaml.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
using System.Windows.Media;
2929

3030
using ICSharpCode.Core;
31+
using ICSharpCode.SharpDevelop;
3132
using ICSharpCode.SharpDevelop.Gui;
3233
using ICSharpCode.SharpDevelop.Services;
3334

@@ -60,13 +61,14 @@ public override void LoadOptions()
6061
exceptionFilterList = DebuggingOptions.Instance.ExceptionFilterList.ToList();
6162

6263
if (exceptionFilterList.Count == 0) {
63-
exceptionFilterList.Add(new ExceptionFilterEntry("*"));
64+
exceptionFilterList.Add(new ExceptionFilterEntry("System.Exception"));
6465
}
6566
}
6667

6768
void ChooseExceptionsClick(object sender, RoutedEventArgs e)
6869
{
6970
var dialog = new ChooseExceptionsDialog(exceptionFilterList);
71+
dialog.Owner = SD.Workbench.MainWindow;
7072
if (dialog.ShowDialog() == true) {
7173
exceptionFilterList = dialog.ExceptionFilterList;
7274
}

0 commit comments

Comments
 (0)