1

我正在尝试将 Red Gate Ants Performance Profiler 用于我机器上的应用程序。当我运行分析器时,每次鼠标或键盘单击都会出现以下错误(因此无法使用该工具分析我的应用程序)。根据 Red Gate 的说法,我是唯一一个报告或看到这个问题的人。我的同事都没有在他们的机器上遇到问题。我尝试了探查器版本 7、7.2、7.4、8.0、8.2、8.3。除非我使用混合的 WPF 和 WinForms 应用程序,否则我不会出现此问题。我机器上的哪些特定设置会导致此问题?

System.MissingMethodException: Method not found: 'Void <Module>._ANTS_EnteringProfilerSection()'.
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.TextBoxBase.WndProc(Message& m)
   at System.Windows.Forms.TextBox.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
4

0 回答 0