<?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>The stop count and trivia</title><link>http://blogs.msdn.com/b/jmstall/archive/2006/03/22/stop-count-trivia.aspx</link><description>ICorDebug maintains a stop-count, and so if you call ICorDebugProcess::Stop() twice in a row, the 1st stop does the real asynchronous-break , and the 2nd stop is basically a nop that just increments a counter. You'll then need to call ICorDebugProcess</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: The stop count and trivia</title><link>http://blogs.msdn.com/b/jmstall/archive/2006/03/22/stop-count-trivia.aspx#558849</link><pubDate>Thu, 23 Mar 2006 15:47:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:558849</guid><dc:creator>j.stagner</dc:creator><description>I notice that Mdbg tracks the stop count itself, so I guess that's the recommended way? &amp;nbsp;&lt;br&gt;&lt;br&gt;I know I'll need async-break eventually, I just haven't implemented it yet, as there are so many &amp;quot;interesting&amp;quot; things to do with a debugger.&lt;br&gt;&lt;br&gt;ICD is huge, and has a whole lot of power and functionality, and I'm just taking it a step at a time ;)&lt;br&gt;&lt;br&gt;Once again, very glad that you have an active blog!!!&lt;br&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=558849" width="1" height="1"&gt;</description></item><item><title>Interesting Finds</title><link>http://blogs.msdn.com/b/jmstall/archive/2006/03/22/stop-count-trivia.aspx#558779</link><pubDate>Thu, 23 Mar 2006 12:43:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:558779</guid><dc:creator>Jason Haley</dc:creator><description>&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=558779" width="1" height="1"&gt;</description></item><item><title>re: The stop count and trivia</title><link>http://blogs.msdn.com/b/jmstall/archive/2006/03/22/stop-count-trivia.aspx#558615</link><pubDate>Thu, 23 Mar 2006 06:49:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:558615</guid><dc:creator>Mike Stall - MSFT</dc:creator><description>IsRunning just yields a bool, so you can't use it to determine the stop-count.&lt;br&gt;IsRunning is also very dangerous in a multi-threaded scenario because the results may get invalidated by another thread. Similar issues with IsBadReadPtr(). &lt;br&gt;&lt;br&gt;Your UI will probably need some sort of async-break event. Somebody's going to write an infinite loop and want to figure out why their program is hung. They async-break, look at the call stacks and hopefully then notice the problem.&lt;br&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=558615" width="1" height="1"&gt;</description></item><item><title>re: The stop count and trivia</title><link>http://blogs.msdn.com/b/jmstall/archive/2006/03/22/stop-count-trivia.aspx#558567</link><pubDate>Thu, 23 Mar 2006 04:40:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:558567</guid><dc:creator>j.stagner</dc:creator><description>Is this stop count reflected in the results from ICorDebugProcess.IsRunning ?&lt;br&gt;&lt;br&gt;I should probably know the answer to this I suppose, but the debugger UI I am building doesn't currently allow the user to stop the debuggee without actually terminating and doesn't do so itself (it only stops on debug events) so it hasn't been an issue so far.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=558567" width="1" height="1"&gt;</description></item></channel></rss>