Why we have CORPROF_E_UNSUPPORTED_CALL_SEQUENCE

What follows is a long-lost blog entry that Jonathan Keljo had been working on.  I brushed off some of the dust and am posting it here for your enjoyment.  Thank you, Jonathan! In CLR 2.0 we added a new HRESULT, CORPROF_E_UNSUPPORTED_CALL_SEQUENCE.  This HRESULT is returned from ICorProfilerInfo methods when called in an “unsupported way”.  This…

0

New stuff in Profiling API for upcoming CLR 4.0

Now that we’ve finally announced at PDC many of the new features coming up in the next major release of Visual Studio and CLR, I can elaborate some on what’s coming up for the profiling API.  Also, see Rick Byers’s blog entry which also talks about debugging improvements. What the CLR will do for you…

3

BUG: GetILFunctionBody returns wrong size

In case you missed it, there was a post on our forum here: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1366051&SiteID=1 and a comment on my blog here: http://blogs.msdn.com/davbr/archive/2007/03/06/creating-an-il-rewriting-profiler.aspx#1881536 about an issue with GetILFunctionBody returning the wrong size.  This is indeed a bug in CLR 2.x, and it is recommended you follow the ECMA spec help you parse the function header to…

3