I known a little about english, so what I say maybe not accurate.
I scroll my screen by mouse, and copy some words by keyboard, than catch the exception.
SharpDevelop Version : 4.3.0.9338-alpha-5f770be6
.NET Version : 4.0.30319.1
OS Version : Microsoft Windows NT 5.1.2600 Service Pack 3
Current culture : Chinese (Simplified, PRC) (zh-CN)
Working Set Memory : 99212kb
GC Heap Memory : 25279kb
Unhandled WPF exception
Exception thrown:
System.ArgumentException: Specified Visual is already a child of another Visual or the root of a CompositionTarget.
at System.Windows.Media.VisualCollection.Insert(Int32 index, Visual visual)
at System.Windows.Documents.AdornerLayer.AddAdornerToVisualTree(AdornerInfo adornerInfo, Int32 zOrder)
at System.Windows.Documents.AdornerLayer.Add(Adorner adorner, Int32 zOrder)
at ICSharpCode.AvalonEdit.Search.SearchPanel.Open()
at ICSharpCode.AvalonEdit.Search.SearchInputHandler.ExecuteFind(Object sender, ExecutedRoutedEventArgs e)
at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
at System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
at System.Windows.UIElement.OnExecutedThunk(Object sender, ExecutedRoutedEventArgs e)
at System.Windows.Input.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
at System.Windows.Input.RoutedCommand.ExecuteCore(Object parameter, IInputElement target, Boolean userInitiated)
at System.Windows.Input.CommandManager.TranslateInput(IInputElement targetElement, InputEventArgs inputEventArgs)
at System.Windows.UIElement.OnKeyDownThunk(Object sender, KeyEventArgs e)
at System.Windows.Input.KeyEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndKeyboardInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawKeyboardActions actions, Int32 scanCode, Boolean isExtendedKey, Boolean isSystemKey, Int32 virtualKey)
at System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(MSG& msg, Boolean& handled)
at System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(MSG& msg, ModifierKeys modifiers)
at System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
---- Recent log messages:
21:28:22.406 [1] DEBUG - ParseInformationUpdated F:\DotNet\ProjectsOrSamples\SD4_pro\OSProcessAdjust\OSProcessAdjust\OperProcess\IGetProcessListSet.cs new!=null:True
21:28:25.000 [1] DEBUG - CC: Beginning to type a word, result=<>
21:28:25.500 [1] DEBUG - ParseInformationUpdated F:\DotNet\ProjectsOrSamples\SD4_pro\OSProcessAdjust\OSProcessAdjust\OperProcess\IGetProcessListSet.cs new!=null:True
21:28:25.937 [1] DEBUG - ParseInformationUpdated F:\DotNet\ProjectsOrSamples\SD4_pro\OSProcessAdjust\OSProcessAdjust\OperProcess\IGetProcessListSet.cs new!=null:True
21:28:26.734 [1] DEBUG - CC: Beginning to type a word, result=<>
21:28:27.250 [1] DEBUG - ParseInformationUpdated F:\DotNet\ProjectsOrSamples\SD4_pro\OSProcessAdjust\OSProcessAdjust\OperProcess\IGetProcessListSet.cs new!=null:True
21:28:28.062 [1] DEBUG - ParseInformationUpdated F:\DotNet\ProjectsOrSamples\SD4_pro\OSProcessAdjust\OSProcessAdjust\OperProcess\IGetProcessListSet.cs new!=null:True
21:28:28.921 [1] DEBUG - ParseInformationUpdated F:\DotNet\ProjectsOrSamples\SD4_pro\OSProcessAdjust\OSProcessAdjust\OperProcess\IGetProcessListSet.cs new!=null:True
21:28:29.406 [1] DEBUG - Activated feature 'ICSharpCode.SharpDevelop.Commands.SaveFile', activation=Shortcut
21:28:29.406 [1] DEBUG - Save F:\DotNet\ProjectsOrSamples\SD4_pro\OSProcessAdjust\OSProcessAdjust\OperProcess\IGetProcessListSet.cs
21:28:29.406 [5] DEBUG - Git: OverlayIconManager Thread started
21:28:29.515 [5] DEBUG - Git: OverlayIconManager Thread finished
21:28:33.453 [1] DEBUG - CC: Beginning to type a word, result=<> ([DefaultExpressionContext: MethodBody])
21:28:34.218 [1] DEBUG - ParseInformationUpdated F:\DotNet\ProjectsOrSamples\SD4_pro\OSProcessAdjust\OSProcessAdjust\OperProcess\IGetProcessListSet.cs new!=null:True
21:28:35.703 [1] DEBUG - ParseInformationUpdated F:\DotNet\ProjectsOrSamples\SD4_pro\OSProcessAdjust\OSProcessAdjust\OperProcess\IGetProcessListSet.cs new!=null:True
21:28:36.625 [1] DEBUG - Activated feature 'ICSharpCode.SharpDevelop.Commands.SaveFile', activation=Shortcut
21:28:36.625 [1] DEBUG - Save F:\DotNet\ProjectsOrSamples\SD4_pro\OSProcessAdjust\OSProcessAdjust\OperProcess\IGetProcessListSet.cs
21:28:36.640 [5] DEBUG - Git: OverlayIconManager Thread started
21:28:36.734 [5] DEBUG - Git: OverlayIconManager Thread finished
21:29:28.984 [1] DEBUG - Activated feature 'ICSharpCode.SharpDevelop.Editor.Commands.CommentRegion', activation=Toolbar
21:29:29.484 [1] DEBUG - ParseInformationUpdated F:\DotNet\ProjectsOrSamples\SD4_pro\OSProcessAdjust\OSProcessAdjust\OperProcess\IGetProcessListSet.cs new!=null:True
21:29:32.000 [1] DEBUG - Activated feature 'ICSharpCode.SharpDevelop.Commands.SaveFile', activation=Shortcut
21:29:32.000 [1] DEBUG - Save F:\DotNet\ProjectsOrSamples\SD4_pro\OSProcessAdjust\OSProcessAdjust\OperProcess\IGetProcessListSet.cs
21:29:32.000 [6] DEBUG - Git: OverlayIconManager Thread started
21:29:32.093 [6] DEBUG - Git: OverlayIconManager Thread finished
---- Post-error application state information:
Installed 3rd party AddIns:
Workbench.ActiveContent: [AvalonEditViewContent F:\DotNet\ProjectsOrSamples\SD4_pro\OSProcessAdjust\OSProcessAdjust\OperProcess\IGetProcessListSet.cs]
ProjectService.OpenSolution: [Solution: FileName=F:\DotNet\ProjectsOrSamples\SD4_pro\OSProcessAdjust\OSProcessAdjust.sln, HasProjects=True, ReadOnly=False]
ProjectService.CurrentProject: [CSharpProject: OSProcessAdjust]