Source code window error

RajRaj Posts: 2
Hi,

When im moving mouse pointer to hit count and time area of Source Code window, im getting this error.

************* Exception Text **************
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'fw'.
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Form.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.ToolTip.get_CreateParams()
at System.Windows.Forms.ToolTip.CreateHandle()
at System.Windows.Forms.ToolTip.Hide(IWin32Window win)
at RedGate.Profiler.UI.SourceCodeControl._1(Object , MouseEventArgs )
at System.Windows.Forms.Control.OnMouseMove(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseMove(Message& m)
at System.Windows.Forms.Control.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).

Any suggestions?


Cheers
Raj

Comments

  • Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    Hi Raj,

    Sorry, but no. This window shouldn't have any tooltips in it at any rate. Please confirm that you're using version 3.1 of ANTS Profiler.

    I'll keep looking into it, but at first glance it looks like a bug in Windows Forms.
  • Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    I take part of that back, there are potentially two tooltips: one on the title bar and one when methods have been inlined.
Sign In or Register to comment.