[2026-03-24 14:17:30] 错误: 未将对象引用设置到对象的实例。
堆栈跟踪:    在 GtkScope.Page.Watch.dtView_PreviewKeyDown(Object sender, KeyEventArgs e) 位置 D:\VsFiles\GtkScope\GtkScope(20260119)\GtkScope\Page\Watch.xaml.cs:行号 3495
   在 System.Windows.Input.KeyEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   在 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   在 System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   在 System.Windows.Input.InputManager.ProcessStagingArea()
   在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   在 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   在 System.Windows.Interop.HwndKeyboardInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawKeyboardActions actions, Int32 scanCode, Boolean isExtendedKey, Boolean isSystemKey, Int32 virtualKey)
   在 System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(MSG& msg, Boolean& handled)
   在 System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(MSG& msg, ModifierKeys modifiers)
   在 System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
----------------------------------------
[2026-03-24 14:25:11] 错误: 调用线程无法访问此对象，因为另一个线程拥有该对象。
堆栈跟踪:    在 System.Windows.Threading.Dispatcher.VerifyAccess()
   在 System.Windows.DependencyObject.GetValue(DependencyProperty dp)
   在 System.Windows.Controls.ItemsControl.get_GroupStyleSelector()
   在 System.Windows.Controls.ItemsControl.MS.Internal.Controls.IGeneratorHost.GetGroupStyle(CollectionViewGroup group, Int32 level)
   在 System.Windows.Controls.ItemContainerGenerator.PrepareGrouping()
   在 System.Windows.Controls.ItemContainerGenerator.RemoveAllInternal(Boolean saveRecycleQueue)
   在 System.Windows.Controls.ItemContainerGenerator.System.Windows.Controls.Primitives.IItemContainerGenerator.RemoveAll()
   在 System.Windows.Controls.ItemContainerGenerator.OnRefresh()
   在 System.Windows.Controls.ItemContainerGenerator.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)
   在 System.Windows.WeakEventManager.ListenerList`1.DeliverEvent(Object sender, EventArgs e, Type managerType)
   在 System.Windows.WeakEventManager.DeliverEvent(Object sender, EventArgs args)
   在 System.Collections.Specialized.CollectionChangedEventManager.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)
   在 System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)
   在 System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)
   在 System.Windows.Controls.ItemCollection.OnViewCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
   在 System.Windows.WeakEventManager.ListenerList`1.DeliverEvent(Object sender, EventArgs e, Type managerType)
   在 System.Windows.WeakEventManager.DeliverEvent(Object sender, EventArgs args)
   在 System.Collections.Specialized.CollectionChangedEventManager.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)
   在 System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)
   在 MS.Internal.Controls.InnerItemCollectionView.RefreshOverride()
   在 System.Windows.Data.CollectionView.RefreshInternal()
   在 System.Windows.Data.CollectionView.RefreshOrDefer()
   在 MS.Internal.Controls.InnerItemCollectionView.Clear()
   在 System.Windows.Controls.ItemCollection.Clear()
   在 GtkScope.Page.Scope.ReadUGroup(Dictionary`2 table, Int32 index, Int32 nFlag, Int32 uAddr) 位置 D:\VsFiles\GtkScope\GtkScope(20260119)\GtkScope\Page\Scope.xaml.cs:行号 137
   在 GtkScope.MainWindow.ChangeFreq(Int16 uVal) 位置 D:\VsFiles\GtkScope\GtkScope(20260119)\GtkScope\MainWindow.xaml.cs:行号 1415
   在 GtkScope.MainWindow.CheckFreq() 位置 D:\VsFiles\GtkScope\GtkScope(20260119)\GtkScope\MainWindow.xaml.cs:行号 1429
   在 GtkScope.Page.Watch.ReadFun() 位置 D:\VsFiles\GtkScope\GtkScope(20260119)\GtkScope\Page\Watch.xaml.cs:行号 2508
   在 System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   在 System.Threading.ThreadHelper.ThreadStart()
----------------------------------------
[2026-03-24 14:27:09] 错误: 调用线程无法访问此对象，因为另一个线程拥有该对象。
堆栈跟踪:    在 System.Windows.Threading.Dispatcher.VerifyAccess()
   在 System.Windows.DependencyObject.GetValue(DependencyProperty dp)
   在 System.Windows.Controls.ItemsControl.get_GroupStyleSelector()
   在 System.Windows.Controls.ItemsControl.MS.Internal.Controls.IGeneratorHost.GetGroupStyle(CollectionViewGroup group, Int32 level)
   在 System.Windows.Controls.ItemContainerGenerator.PrepareGrouping()
   在 System.Windows.Controls.ItemContainerGenerator.RemoveAllInternal(Boolean saveRecycleQueue)
   在 System.Windows.Controls.ItemContainerGenerator.System.Windows.Controls.Primitives.IItemContainerGenerator.RemoveAll()
   在 System.Windows.Controls.ItemContainerGenerator.OnRefresh()
   在 System.Windows.Controls.ItemContainerGenerator.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)
   在 System.Windows.WeakEventManager.ListenerList`1.DeliverEvent(Object sender, EventArgs e, Type managerType)
   在 System.Windows.WeakEventManager.DeliverEvent(Object sender, EventArgs args)
   在 System.Collections.Specialized.CollectionChangedEventManager.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)
   在 System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)
   在 System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)
   在 System.Windows.Controls.ItemCollection.OnViewCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
   在 System.Windows.WeakEventManager.ListenerList`1.DeliverEvent(Object sender, EventArgs e, Type managerType)
   在 System.Windows.WeakEventManager.DeliverEvent(Object sender, EventArgs args)
   在 System.Collections.Specialized.CollectionChangedEventManager.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)
   在 System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)
   在 MS.Internal.Controls.InnerItemCollectionView.RefreshOverride()
   在 System.Windows.Data.CollectionView.RefreshInternal()
   在 System.Windows.Data.CollectionView.RefreshOrDefer()
   在 MS.Internal.Controls.InnerItemCollectionView.Clear()
   在 System.Windows.Controls.ItemCollection.Clear()
   在 GtkScope.Page.Scope.ReadUGroup(Dictionary`2 table, Int32 index, Int32 nFlag, Int32 uAddr) 位置 D:\VsFiles\GtkScope\GtkScope(20260119)\GtkScope\Page\Scope.xaml.cs:行号 137
   在 GtkScope.MainWindow.ChangeFreq(Int16 uVal) 位置 D:\VsFiles\GtkScope\GtkScope(20260119)\GtkScope\MainWindow.xaml.cs:行号 1415
   在 GtkScope.MainWindow.CheckFreq() 位置 D:\VsFiles\GtkScope\GtkScope(20260119)\GtkScope\MainWindow.xaml.cs:行号 1429
   在 GtkScope.Page.Watch.ReadFun() 位置 D:\VsFiles\GtkScope\GtkScope(20260119)\GtkScope\Page\Watch.xaml.cs:行号 2508
   在 System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   在 System.Threading.ThreadHelper.ThreadStart()
----------------------------------------
[2026-03-24 14:32:12] 错误: 未将对象引用设置到对象的实例。
堆栈跟踪:    在 GtkScope.Page.Watch.dtView_PreviewKeyDown(Object sender, KeyEventArgs e) 位置 D:\VsFiles\GtkScope\GtkScope(20260119)\GtkScope\Page\Watch.xaml.cs:行号 3517
   在 System.Windows.Input.KeyEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   在 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   在 System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   在 System.Windows.Input.InputManager.ProcessStagingArea()
   在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   在 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   在 System.Windows.Interop.HwndKeyboardInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawKeyboardActions actions, Int32 scanCode, Boolean isExtendedKey, Boolean isSystemKey, Int32 virtualKey)
   在 System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(MSG& msg, Boolean& handled)
   在 System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(MSG& msg, ModifierKeys modifiers)
   在 System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
----------------------------------------
[2026-03-24 16:30:27] 错误: 未将对象引用设置到对象的实例。
堆栈跟踪:    在 GtkScope.Page.Watch.WriteAllFunc() 位置 D:\VsFiles\GtkScope\GtkScope(20260119)\GtkScope\Page\Watch.xaml.cs:行号 3329
   在 System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   在 System.Threading.ThreadHelper.ThreadStart()
----------------------------------------
