Problem with CLRProfiler

I am trying to use Microsoft CLRProfiler to profile my rather large application, and it crashes whenever it tries to write (or read) a log file. Ironically, the exact error was documented on the MS Feedback site as not reproducible, and seems to have never been fixed. I get NullReferenceExceptionat:

CLRProfiler.ReadNewLog.ReadFile(Int64 startFileOffset, Int64 endFileOffset, ReadLogResult readLogResult)
at CLRProfiler.MainForm.checkProcessTimer_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Does anyone have any ideas how I could get help or, ideally, get the damn thing to work properly? Complaints for help on MSDN were ignored ... Thanks!

+3
source share
3 answers

CLR , .

, PDC, , : mem , , , mem .

, , , .

+4

, . , jetBrains dotTRACE; 10- , , .

+2

We encountered a similar problem when debugging a crash mammoth on a remote Citrix Server, which CLRProfiler could not parse.

We managed to find the problem using WinDbg

In addition, it can also help CorDbg.

0
source

All Articles