<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Profiler stack walking: Basics and beyond</title><link>http://blogs.msdn.com/b/davbr/archive/2005/10/06/profiler-stack-walking-basics-and-beyond.aspx</link><description>Introduction 
 This article is targeted toward profiler authors, and anyone interested in building a profiler to examine managed applications. I will describe how you can program your profiler to walk managed stacks in version 2.0 of the Common Language</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title> David Broman s CLR Profiling API Blog Profiler stack walking Basics | storage bench</title><link>http://blogs.msdn.com/b/davbr/archive/2005/10/06/profiler-stack-walking-basics-and-beyond.aspx#9782783</link><pubDate>Fri, 19 Jun 2009 11:13:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9782783</guid><dc:creator> David Broman s CLR Profiling API Blog Profiler stack walking Basics | storage bench</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://thestoragebench.info/story.php?id=6252"&gt;http://thestoragebench.info/story.php?id=6252&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9782783" width="1" height="1"&gt;</description></item><item><title> David Broman s CLR Profiling API Blog Profiler stack walking Basics | Toe Nail Fungus</title><link>http://blogs.msdn.com/b/davbr/archive/2005/10/06/profiler-stack-walking-basics-and-beyond.aspx#9713547</link><pubDate>Tue, 09 Jun 2009 09:22:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9713547</guid><dc:creator> David Broman s CLR Profiling API Blog Profiler stack walking Basics | Toe Nail Fungus</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://toenailfungusite.info/story.php?id=4865"&gt;http://toenailfungusite.info/story.php?id=4865&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9713547" width="1" height="1"&gt;</description></item><item><title> David Broman s CLR Profiling API Blog Profiler stack walking Basics |  Portable Greenhouse</title><link>http://blogs.msdn.com/b/davbr/archive/2005/10/06/profiler-stack-walking-basics-and-beyond.aspx#9689917</link><pubDate>Wed, 03 Jun 2009 10:58:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9689917</guid><dc:creator> David Broman s CLR Profiling API Blog Profiler stack walking Basics |  Portable Greenhouse</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://portablegreenhousesite.info/story.php?id=25254"&gt;http://portablegreenhousesite.info/story.php?id=25254&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9689917" width="1" height="1"&gt;</description></item><item><title> David Broman s CLR Profiling API Blog Profiler stack walking Basics |  Portable Greenhouse</title><link>http://blogs.msdn.com/b/davbr/archive/2005/10/06/profiler-stack-walking-basics-and-beyond.aspx#9676845</link><pubDate>Mon, 01 Jun 2009 14:27:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9676845</guid><dc:creator> David Broman s CLR Profiling API Blog Profiler stack walking Basics |  Portable Greenhouse</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://portablegreenhousesite.info/story.php?id=15447"&gt;http://portablegreenhousesite.info/story.php?id=15447&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9676845" width="1" height="1"&gt;</description></item><item><title>SecurityException on AppDomain.CreateInstanceAndUnWrap | keyongtech</title><link>http://blogs.msdn.com/b/davbr/archive/2005/10/06/profiler-stack-walking-basics-and-beyond.aspx#9365397</link><pubDate>Thu, 22 Jan 2009 12:24:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9365397</guid><dc:creator>SecurityException on AppDomain.CreateInstanceAndUnWrap | keyongtech</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.keyongtech.com/427320-securityexception-on-appdomain-createinstanceandunwrap"&gt;http://www.keyongtech.com/427320-securityexception-on-appdomain-createinstanceandunwrap&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9365397" width="1" height="1"&gt;</description></item><item><title>Bug! Inspecting Value-Type Returns Workaround #2</title><link>http://blogs.msdn.com/b/davbr/archive/2005/10/06/profiler-stack-walking-basics-and-beyond.aspx#6682630</link><pubDate>Thu, 06 Dec 2007 20:53:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6682630</guid><dc:creator>David Broman's CLR Profiling API Blog</dc:creator><description>&lt;p&gt;12/6/2007 Update: The bug described below has been fixed in CLR 2.0 SP1.&amp;amp;#160; (See this post for more&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6682630" width="1" height="1"&gt;</description></item><item><title>re: Profiler stack walking: Basics and beyond</title><link>http://blogs.msdn.com/b/davbr/archive/2005/10/06/profiler-stack-walking-basics-and-beyond.aspx#2575110</link><pubDate>Sat, 12 May 2007 20:27:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2575110</guid><dc:creator>David Broman</dc:creator><description>&lt;p&gt;Hi, Rob. &amp;nbsp;If you're having specific trouble with some of the profiling APIs, please use the forum at&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=868&amp;amp;SiteID=1"&gt;http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=868&amp;amp;SiteID=1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;That way you have a wider audience who can help and learn from the responses.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2575110" width="1" height="1"&gt;</description></item><item><title>re: Profiler stack walking: Basics and beyond</title><link>http://blogs.msdn.com/b/davbr/archive/2005/10/06/profiler-stack-walking-basics-and-beyond.aspx#2550960</link><pubDate>Fri, 11 May 2007 21:24:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2550960</guid><dc:creator>Rob Miller</dc:creator><description>&lt;p&gt;maybe you can help me with:&lt;/p&gt;
&lt;p&gt;HRESULT hrContext = ::GetThreadContext(otherTheadHandles[i-1], &amp;amp;c);&lt;/p&gt;
&lt;p&gt;			FunctionID unmanagedID;&lt;/p&gt;
&lt;p&gt;			//assert(false);&lt;/p&gt;
&lt;p&gt;			m_pICorProfilerInfo2-&amp;gt;GetFunctionFromIP(c.Eip,&amp;amp;unmanagedID);&lt;/p&gt;
&lt;p&gt;never seems to work, the functionID is always invalid .. am i missing something&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Rob. (rmiller1971@yahoo.com)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2550960" width="1" height="1"&gt;</description></item><item><title>Bug!  Inspecting Value-Type Returns Workaround #2</title><link>http://blogs.msdn.com/b/davbr/archive/2005/10/06/profiler-stack-walking-basics-and-beyond.aspx#620933</link><pubDate>Wed, 07 Jun 2006 19:47:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:620933</guid><dc:creator>David Broman's CLR Profiling API Blog</dc:creator><description>Previously, I posted about a bug with using the CLR Profiling API to inspect value-type return values....&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=620933" width="1" height="1"&gt;</description></item><item><title>re: Profiler stack walking: Basics and beyond</title><link>http://blogs.msdn.com/b/davbr/archive/2005/10/06/profiler-stack-walking-basics-and-beyond.aspx#513551</link><pubDate>Tue, 17 Jan 2006 02:35:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:513551</guid><dc:creator>David Broman</dc:creator><description>Hi, Sunil.  The inproc debugging interface was removed in response to test and customer feedback that it was unreliable and difficult to use safely.  There should be sufficient functionality in the remaining profiling API to do most of the things people tended to do with the inproc debugging interface.  I'd be interested to know the larger picture of what you're trying to accomplish.  I believe a combination of DoStackSnapshot(), GetFunctionFromIP(), and GetILToNativeMapping() should get you what you want, but I might not be fully understanding your scenario.  Please let me know if these aren't sufficient.  Thanks for writing!&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=513551" width="1" height="1"&gt;</description></item></channel></rss>