Closed
Description
Could it be possible to print the exception to the debug output before trying to show the error dialog?
Snooping application.
Starting snoop UI...
System.InvalidOperationException: The calling thread must be STA, because many UI components require this.
at System.Windows.Input.InputManager..ctor()
at System.Windows.Input.InputManager.GetCurrentInputManagerImpl()
at System.Windows.Input.KeyboardNavigation..ctor()
at System.Windows.FrameworkElement.FrameworkServices..ctor()
at System.Windows.FrameworkElement.EnsureFrameworkServices()
at System.Windows.FrameworkElement..ctor()
at System.Windows.Controls.Control..ctor()
at System.Windows.Window..ctor()
at Snoop.ErrorDialog..ctor() in C:\projects\snoopwpf\Snoop.Core\ErrorDialog.xaml.cs:line 16
at Snoop.ErrorDialog.ShowDialog(Exception exception, String title, String caption, Boolean exceptionAlreadyHandled) in C:\projects\snoopwpf\Snoop.Core\ErrorDialog.xaml.cs:line 48
at Snoop.Infrastructure.SnoopManager.GoBabyGoForCurrentAppDomain(TransientSettingsData settingsData) in C:\projects\snoopwpf\Snoop.Core\Infrastructure\SnoopManager.cs:line 137
at Snoop.Infrastructure.SnoopManager.StartSnoopInstance(String settingsFile) in C:\projects\snoopwpf\Snoop.Core\Infrastructure\SnoopManager.cs:line 97
at Snoop.Infrastructure.SnoopManager.StartSnoop(String settingsFile) in C:\projects\snoopwpf\Snoop.Core\Infrastructure\SnoopManager.cs:line 21
Activity