This is a migrated thread and some comments may be shown as answers.

Debugging Symbols

2 Answers 291 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 15 Jan 2015, 10:47 PM
So, the RadGridView has thrown the following exception:

System.NullReferenceException occurred
  _HResult=-2147467261
  _message=Object reference not set to an instance of an object.
  HResult=-2147467261
  IsTransient=false
  Message=Object reference not set to an instance of an object.
  Source=Telerik.WinControls.GridView
  StackTrace:
       at Telerik.WinControls.UI.GridNewRowBehavior.OnMouseDownLeft(MouseEventArgs e)
  InnerException:

Break on Common Language Runtime Exceptions always stops on Application.Run(mainForm)

Clearly not much use (to me!) but I want to dig deeper.  Can I step into the grid code?  I'm sure Reflector VS Addin had functionality to step in to referenced assemblies.  Might be a good one for the Telerik Just Decompile.

Are debugging symbols available for the RadGridView?  In this instance I have my own custom editor which I suspect overriding of value is affecting the grid in someway.

Thanks

Andez

2 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 16 Jan 2015, 03:00 PM
Hello Paul,

Thank you for writing.

The best way to debug such exceptions is to download the source code attach your project to the main WinForms solution (RadControlsVS2010.sln). This way you can reference the projects and see the exact line where the exception occur. JustDecompile is helpful when you need to view the code of a compiled assembly and I don't think that it will be useful for this particular case.

In addition you can download the pdb files from your account: Download Product Files.

I hope this information helps.

Regards,
Dimitar
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Paul
Top achievements
Rank 1
answered on 18 Jan 2015, 10:12 AM
Thanks Dimitar.  Will look at the source code.
Tags
General Discussions
Asked by
Paul
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Paul
Top achievements
Rank 1
Share this question
or