<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Comment Feed for Channel 9 - 10-4 Episode 34: Debugger Enhancements and Improvements</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Shows/10-4/10-4-Episode-34-Debugger-Enhancements-and-Improvements/RSS"></atom:link>
	<image>
		<url>http://ecn.channel9.msdn.com/o9/previewImages/100/502643_100x75.jpg</url>
		<title>Channel 9 - 10-4 Episode 34: Debugger Enhancements and Improvements</title>
		<link></link>
	</image>
	<description>
In this episode of 10-4,&amp;nbsp;Jason Olson is joined by Andrew Hall and Brad Sullivan&amp;nbsp;to take a look at some new enhancements and improvements made to the debugger and debugging experience in
 Visual Studio 2010. [2:10] - Sticky Data Tips[3:13]&amp;nbsp;- Adding more values (including notes) to data tips[4:44] - Breakpoints Window enhancements[8:04] - Export and Import of Breakpoints and Data Tips[10:40] - Threads Window enhancements[14:39] - Dump debugging improvements[24:50] - Integrated IL InterpreterFor more information on the Debugger and to stay up to speed with all sorts of goodness, make sure to check out the
Debugger Team&#39;s blog. 
For more information on Visual Studio 2010 and .NET Framework 4, make sure to download and check out the latest release of the&amp;nbsp;Visual
 Studio 2010 Training Kit along with the&amp;nbsp;Visual Studio 2010 Training Course right here on Channel 9.For more 10-4 episodes, be sure to visit:http://channel9.msdn.com/shows/10-4 
10-4! Over and out! 
</description>
	<link></link>
	<language>en</language>
	<pubDate>Tue, 21 May 2013 14:25:43 GMT</pubDate>
	<lastBuildDate>Tue, 21 May 2013 14:25:43 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<item>
		<title>Re: 10-4 Episode 34: Debugger Enhancements and Improvements</title>
		<description>
			<![CDATA[
<p>the datatips are really hot.. is there a what to bake them into the project so that they're presisted without exporting/importing?</p>
<p>posted by aL_</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/10-4/10-4-Episode-34-Debugger-Enhancements-and-Improvements#c633923609590000000</link>
		<pubDate>Wed, 28 Oct 2009 21:09:19 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/10-4/10-4-Episode-34-Debugger-Enhancements-and-Improvements#c633923609590000000</guid>
		<dc:creator>aL_</dc:creator>
	</item>
	<item>
		<title>Re: 10-4 Episode 34: Debugger Enhancements and Improvements</title>
		<description>
			<![CDATA[
<p>They are saved as part of the project in the .suo file (which is user specific).&nbsp; The import/export allows them to be backed up and shared, but they do persist between debugging/visual studio sessions.</p>
<p>posted by Andrew Hall</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/10-4/10-4-Episode-34-Debugger-Enhancements-and-Improvements#c633923624680000000</link>
		<pubDate>Wed, 28 Oct 2009 21:34:28 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/10-4/10-4-Episode-34-Debugger-Enhancements-and-Improvements#c633923624680000000</guid>
		<dc:creator>Andrew Hall</dc:creator>
	</item>
	<item>
		<title>Re: 10-4 Episode 34: Debugger Enhancements and Improvements</title>
		<description>
			<![CDATA[
<p>really? awsome <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /></p>
<p>&nbsp;</p>
<p>now the only thing thats missing is a reflector style disassembly of code that has no symbols <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /></p>
<p>posted by aL_</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/10-4/10-4-Episode-34-Debugger-Enhancements-and-Improvements#c633924126810000000</link>
		<pubDate>Thu, 29 Oct 2009 11:31:21 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/10-4/10-4-Episode-34-Debugger-Enhancements-and-Improvements#c633924126810000000</guid>
		<dc:creator>aL_</dc:creator>
	</item>
	<item>
		<title>Re: 10-4 Episode 34: Debugger Enhancements and Improvements</title>
		<description>
			<![CDATA[
<p>Great quality on the recording, on this laptop the fullscreen is like sitting at the machine it was recorded on. Although&nbsp;I'd love to be able to sign-in and comment without interrupting playback. Grrr...</p>
<p>posted by LukePuplett</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/10-4/10-4-Episode-34-Debugger-Enhancements-and-Improvements#c633924160360000000</link>
		<pubDate>Thu, 29 Oct 2009 12:27:16 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/10-4/10-4-Episode-34-Debugger-Enhancements-and-Improvements#c633924160360000000</guid>
		<dc:creator>LukePuplett</dc:creator>
	</item>
	<item>
		<title>Re: 10-4 Episode 34: Debugger Enhancements and Improvements</title>
		<description>
			<![CDATA[
<p>Is it possible to create managed mini-dump programmatically for later analysis (e.g. in catch block of exception handling routine)???</p>
<p>posted by mjurek</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/10-4/10-4-Episode-34-Debugger-Enhancements-and-Improvements#c633924484340000000</link>
		<pubDate>Thu, 29 Oct 2009 21:27:14 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/10-4/10-4-Episode-34-Debugger-Enhancements-and-Improvements#c633924484340000000</guid>
		<dc:creator>mjurek</dc:creator>
	</item>
	<item>
		<title>Re: 10-4 Episode 34: Debugger Enhancements and Improvements</title>
		<description>
			<![CDATA[
<p>This might be covered somewhere else, or maybe I totally missed it, but when I get out of debug mode and go back into edit mode, I lose the info in the command window. 9 times out of ten I have important info in there that I need in edit mode (variable values,
 test code, etc. ) and I have to copy/paste it into notepad before stopping debug mode. Will we be able to keep Command Window open, with the info displayed, while in edit mode? Thanks.</p>
<p>posted by bischofb</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/10-4/10-4-Episode-34-Debugger-Enhancements-and-Improvements#c633924584870000000</link>
		<pubDate>Fri, 30 Oct 2009 00:14:47 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/10-4/10-4-Episode-34-Debugger-Enhancements-and-Improvements#c633924584870000000</guid>
		<dc:creator>bischofb</dc:creator>
	</item>
	<item>
		<title>Re: 10-4 Episode 34: Debugger Enhancements and Improvements</title>
		<description>
			<![CDATA[
<p>ths is something i'd also like to do <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /> </p>
<p>my app might throw a minor error that dont bring dowwn the whole app but i'd still like to be able to debug later. also, are the mini dumps saved somewhere locally? if an app crashes it asks if i want to send the dump to you, but i'd like to be able to look
 at the dump my self <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /> </p>
<p>&nbsp;</p>
<p>also there seem to be some bugs with the data tips, when i try to erase (with backspace) or move the cursor with the arrows, the change is made in the actual code, not in&nbsp;the data tip.. perhaps you know about this already <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /></p>
<p>posted by aL_</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/10-4/10-4-Episode-34-Debugger-Enhancements-and-Improvements#c633924616370000000</link>
		<pubDate>Fri, 30 Oct 2009 01:07:17 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/10-4/10-4-Episode-34-Debugger-Enhancements-and-Improvements#c633924616370000000</guid>
		<dc:creator>aL_</dc:creator>
	</item>
	<item>
		<title>Re: 10-4 Episode 34: Debugger Enhancements and Improvements</title>
		<description>
			<![CDATA[
<p>aL_, the answer to your question is at: <a href="<a href="http://msdn.microsoft.com/en-us/library/bb787181(VS.85">http&#58;&#47;&#47;msdn.microsoft.com&#47;en-us&#47;library&#47;bb787181&#40;VS.85</a>).aspx">
<a href="http://msdn.microsoft.com/en-us/library/bb787181(VS.85">http&#58;&#47;&#47;msdn.microsoft.com&#47;en-us&#47;library&#47;bb787181&#40;VS.85</a>).aspx</a></p>
<p>&nbsp;</p>
<p>That article describes how you can collect local dumps for yourself to troubleshoot, instead of sending dumps of your custom programs to Microsoft, never to be heard from again. I should also mention that this is effectively the replacement for Dr. Watson
 on Vista and Windows 7 (and of course their Server counterparts).</p>
<p>&nbsp;</p>
<p>Corrector</p>
<p>&nbsp;</p>
<p>posted by Corrector</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/10-4/10-4-Episode-34-Debugger-Enhancements-and-Improvements#c633924621670000000</link>
		<pubDate>Fri, 30 Oct 2009 01:16:07 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/10-4/10-4-Episode-34-Debugger-Enhancements-and-Improvements#c633924621670000000</guid>
		<dc:creator>Corrector</dc:creator>
	</item>
	<item>
		<title>Re: 10-4 Episode 34: Debugger Enhancements and Improvements</title>
		<description>
			<![CDATA[
<p>This is not exactly what I am looking for, I need this for managed apps and the article you pointed out says &quot;Applications that do their own custom crash reporting, including .NET applications, are not supported by this feature.&quot;</p>
<p>What I would like is: When there is an exception in my app, create mini-dump and display &quot;Sorry, error&quot; to end user.</p>
<p>posted by mjurek</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/10-4/10-4-Episode-34-Debugger-Enhancements-and-Improvements#c633924870820000000</link>
		<pubDate>Fri, 30 Oct 2009 08:11:22 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/10-4/10-4-Episode-34-Debugger-Enhancements-and-Improvements#c633924870820000000</guid>
		<dc:creator>mjurek</dc:creator>
	</item>
	<item>
		<title>Re: 10-4 Episode 34: Debugger Enhancements and Improvements</title>
		<description>
			<![CDATA[
<p>cool, thanks <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /></p>
<p>however like mjurek my apps are managed, and also [to my dismay] the client computers are only running xp :/</p>
<p>is there another way? perhaps you coulh start windbg programatically and have it capture a dump?</p>
<p>posted by aL_</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/10-4/10-4-Episode-34-Debugger-Enhancements-and-Improvements#c633924922020000000</link>
		<pubDate>Fri, 30 Oct 2009 09:36:42 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/10-4/10-4-Episode-34-Debugger-Enhancements-and-Improvements#c633924922020000000</guid>
		<dc:creator>aL_</dc:creator>
	</item>
	<item>
		<title>Re: 10-4 Episode 34: Debugger Enhancements and Improvements</title>
		<description>
			<![CDATA[
<p>Probably the easiest way is to launch the sysinternals 'ProcDump' tool (see <a href="http://technet.microsoft.com/en-us/sysinternals/dd996900.aspx">
http://technet.microsoft.com/en-us/sysinternals/dd996900.aspx</a>) passing your process id on the command line. You may want to do this from an AppDomain.UnhandledException event, or from an exception filter written in IL/VB. If you&nbsp;write out the dump from
 a catch block, the original variables&nbsp;will be lost, though you will still have acess to any variables viewable from the catch block.</p>
<p>&nbsp;</p>
<p>The alternative to creating ProcDump/WinDbg is to P/Invoke to dbghelp!MiniDumpWriteDump. However, its not reliable to write a minidump file of your own process (calling MiniDumpWriteDump with hProcess/ProcessId = GetCurrentProcess()/GetCurrentProcessId()),
 and you will likely find the P/Invokes harder to get correct then a call to System.Diagnostics.Process.Start.</p>
<p>posted by greggm</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/10-4/10-4-Episode-34-Debugger-Enhancements-and-Improvements#c633927789660000000</link>
		<pubDate>Mon, 02 Nov 2009 17:16:06 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/10-4/10-4-Episode-34-Debugger-Enhancements-and-Improvements#c633927789660000000</guid>
		<dc:creator>greggm</dc:creator>
	</item>
	<item>
		<title>Re: 10-4 Episode 34: Debugger Enhancements and Improvements</title>
		<description>
			<![CDATA[
<p>If you're running you application while debugging with Visual Studio, another option would be to automatically create the dumps using macros.</p>
<p>&nbsp;</p>
<p>Here's a simple&nbsp;example of how to create a macro that will create a dump on an unhandled exception:</p>
<p>1)&nbsp; Got to Tools -&gt; Macros -&gt; Macros IDE</p>
<p>2)&nbsp; In Project Explorer,&nbsp;open MyMacros -&gt;EnvironmentEvents</p>
<p>3)&nbsp; In the left drop-down (will say &quot;(General)&quot; by default), select DebuggerEvents</p>
<p>4)&nbsp; In the right drop-down, select OnExceptionNotHandled.&nbsp; This will create a new subroutine called DebuggerEvents_OnExceptionNotHandled.</p>
<p>5)&nbsp; Add the following code to the subroutine:</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MsgBox(&quot;Unhandled Exception, writing out a minidump&quot;)</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim dbg As EnvDTE80.Debugger2</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dbg = DTE.Debugger</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dbg.WriteMinidump(&quot;c:\dumps\macrodump.dmp&quot;, EnvDTE80.dbgMinidumpOption.dbgMinidumpNormal)</p>
<p>&nbsp;</p>
<p>You can customize this to meet your needs.&nbsp; For example, you could add some logic to make it only write out dumps&nbsp;under certain conditions.&nbsp; You could write out a dump with heap by replacing dbgMinidumpNormal with dbgMinidumpFull.&nbsp;&nbsp;Or&nbsp;you could have this
 routine run OnExceptionThrown instead of OnExceptionNotHandled (again, adding some conditions on when to write the dump).</p>
<p>&nbsp;</p>
<p>I hope that helps.&nbsp; It's always better to create a dump file from out of process.&nbsp; While a call to dbghelp.dll!MiniDumpWriteDump on your own process won't fail, you may end up with a bad dump.&nbsp; There are a few reasons for this.&nbsp; The first is that the faulting
 process if often not in such a good state to begin with and any complicated call might fail.&nbsp; If you're only worried about minor issues, then this may not apply here.&nbsp; The second is that it will have a hard time getting the stack information correct for the
 calling thread.&nbsp; For this reason, it is suggested that you spin off a seperate worker thread that will make the call to write out the dump.</p>
<p>posted by brads</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/10-4/10-4-Episode-34-Debugger-Enhancements-and-Improvements#c633928053400000000</link>
		<pubDate>Tue, 03 Nov 2009 00:35:40 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/10-4/10-4-Episode-34-Debugger-Enhancements-and-Improvements#c633928053400000000</guid>
		<dc:creator>brads</dc:creator>
	</item>
	<item>
		<title>Re: 10-4 Episode 34: Debugger Enhancements and Improvements</title>
		<description>
			<![CDATA[
<p>I like having the time line provided next to the video. &nbsp;Any chance of adding a way to jump directly to that part of the video?</p>
<p>posted by dshue</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/10-4/10-4-Episode-34-Debugger-Enhancements-and-Improvements#c633939163620000000</link>
		<pubDate>Sun, 15 Nov 2009 21:12:42 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/10-4/10-4-Episode-34-Debugger-Enhancements-and-Improvements#c633939163620000000</guid>
		<dc:creator>dshue</dc:creator>
	</item>
	<item>
		<title>Re: 10-4 Episode 34: Debugger Enhancements and Improvements</title>
		<description>
			<![CDATA[
<p>The sample application used in this video is available for download from: <a href="http://code.msdn.microsoft.com/vsdbg10stockanalyzer">
http://code.msdn.microsoft.com/vsdbg10stockanalyzer</a></p>
<p>posted by Andrew Hall</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/10-4/10-4-Episode-34-Debugger-Enhancements-and-Improvements#c633978973810000000</link>
		<pubDate>Thu, 31 Dec 2009 23:03:01 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/10-4/10-4-Episode-34-Debugger-Enhancements-and-Improvements#c633978973810000000</guid>
		<dc:creator>Andrew Hall</dc:creator>
	</item>
</channel>
</rss>