<?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>Did you know… You can use Tracepoints to log “printf” or “console.writeline” info without editing your code? - #237</title><link>http://blogs.msdn.com/b/saraford/archive/2008/06/13/did-you-know-you-can-use-tracepoints-to-log-printf-or-console-writeline-info-without-editing-your-code-237.aspx</link><description>his was tip #15 in my TechEd 2008 VS IDE Tips and Tricks talk. This is a new feature for VS2008. On a given line of code where you want to log the value of a variable, you could do the old fashion way of doing a Console.Writeline() or a PrintF().&amp;#160;</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>Visual Studio Links #40</title><link>http://blogs.msdn.com/b/saraford/archive/2008/06/13/did-you-know-you-can-use-tracepoints-to-log-printf-or-console-writeline-info-without-editing-your-code-237.aspx#8639460</link><pubDate>Sun, 22 Jun 2008 20:33:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8639460</guid><dc:creator>Visual Studio Hacks</dc:creator><description>&lt;p&gt;My latest in a series of the weekly, or more often, summary of interesting links I come across related to Visual Studio. I've been on vacation in Alaska for 10 days so this is an extra long list of links. Sara Ford: Tip of the Day #236 covers the file&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8639460" width="1" height="1"&gt;</description></item><item><title>Link List 20080617</title><link>http://blogs.msdn.com/b/saraford/archive/2008/06/13/did-you-know-you-can-use-tracepoints-to-log-printf-or-console-writeline-info-without-editing-your-code-237.aspx#8611652</link><pubDate>Tue, 17 Jun 2008 18:21:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8611652</guid><dc:creator>Guru Stop</dc:creator><description>&lt;p&gt;&amp;#183; Everything You Wanted To Know About MVC and MVP But Were Afraid To Ask &amp;#183; Functional Programming in&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8611652" width="1" height="1"&gt;</description></item><item><title>Trace to output window without adding code.</title><link>http://blogs.msdn.com/b/saraford/archive/2008/06/13/did-you-know-you-can-use-tracepoints-to-log-printf-or-console-writeline-info-without-editing-your-code-237.aspx#8594744</link><pubDate>Fri, 13 Jun 2008 20:10:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8594744</guid><dc:creator>Peter Ritchie's MVP Blog</dc:creator><description>&lt;p&gt;Want to trace some run-time data to the output window while debugging without changing and recompiling&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8594744" width="1" height="1"&gt;</description></item><item><title>re: Did you know… You can use Tracepoints to log “printf” or “console.writeline” info without editing your code? - #237</title><link>http://blogs.msdn.com/b/saraford/archive/2008/06/13/did-you-know-you-can-use-tracepoints-to-log-printf-or-console-writeline-info-without-editing-your-code-237.aspx#8594631</link><pubDate>Fri, 13 Jun 2008 18:58:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8594631</guid><dc:creator>MarcT</dc:creator><description>&lt;p&gt;Tracepoints could use a weeks of tips themselves. Stuff that's really hidden like all the special words ($FUNCTION, $CALLER, etc) - there are some that are not listed in the dialog (i.e. $TICK for timing info). Also, formatting - you can write {foo,x} to see foo in hex, for example.&lt;/p&gt;
&lt;p&gt;My favorite secret unsupported feature of tracepoints is that the default text for a new tracepoint ($THREAD: $FUNCTION or something) can be changed via the registry.&lt;/p&gt;
&lt;p&gt;Feature request: Save my currently active tracepoints to a file so I can load them quickly next time this same function breaks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8594631" width="1" height="1"&gt;</description></item><item><title>re: Did you know… You can use Tracepoints to log “printf” or “console.writeline” info without editing your code? - #237</title><link>http://blogs.msdn.com/b/saraford/archive/2008/06/13/did-you-know-you-can-use-tracepoints-to-log-printf-or-console-writeline-info-without-editing-your-code-237.aspx#8594498</link><pubDate>Fri, 13 Jun 2008 16:58:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8594498</guid><dc:creator>Bryant</dc:creator><description>&lt;p&gt;Great feature, though this debuted in VS2005, not 2008...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8594498" width="1" height="1"&gt;</description></item><item><title>re: Did you know… You can use Tracepoints to log “printf” or “console.writeline” info without editing your code? - #237</title><link>http://blogs.msdn.com/b/saraford/archive/2008/06/13/did-you-know-you-can-use-tracepoints-to-log-printf-or-console-writeline-info-without-editing-your-code-237.aspx#8594462</link><pubDate>Fri, 13 Jun 2008 16:12:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8594462</guid><dc:creator>Alex Black</dc:creator><description>&lt;p&gt;Great tip Sara, thanks. I hadn't heard about that, I will have to try it out.&lt;/p&gt;
&lt;p&gt;- Alex&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8594462" width="1" height="1"&gt;</description></item><item><title>re: Did you know… You can use Tracepoints to log “printf” or “console.writeline” info without editing your code? - #237</title><link>http://blogs.msdn.com/b/saraford/archive/2008/06/13/did-you-know-you-can-use-tracepoints-to-log-printf-or-console-writeline-info-without-editing-your-code-237.aspx#8594461</link><pubDate>Fri, 13 Jun 2008 16:12:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8594461</guid><dc:creator>Serge Wautier</dc:creator><description>&lt;p&gt;Thanks soooooo much for uncovering these TracePoints. I would never have found them alone! (Now, WHO uses the context menu to set a breakpoint?)&lt;/p&gt;
&lt;p&gt;Wait, it works for Compact Framework debugging on Windows Mobile devices as well.&lt;/p&gt;
&lt;p&gt;A very nice birthday present you came with ;-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8594461" width="1" height="1"&gt;</description></item><item><title>re: Did you know… You can use Tracepoints to log “printf” or “console.writeline” info without editing your code? - #237</title><link>http://blogs.msdn.com/b/saraford/archive/2008/06/13/did-you-know-you-can-use-tracepoints-to-log-printf-or-console-writeline-info-without-editing-your-code-237.aspx#8594455</link><pubDate>Fri, 13 Jun 2008 16:04:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8594455</guid><dc:creator>John Garland</dc:creator><description>&lt;p&gt;Thanks for the tip Sara. &amp;nbsp;One nit, however...I am not sure this is actually a &amp;quot;new feature&amp;quot; in VS2008 - it is just more accessible in VS2008 than it was in VS2005. &amp;nbsp;In VS2005, simply drop a breakpoint (F9) and then right click on the breakpoint icon in the margin or on the line where the breakpoint itself resides. &amp;nbsp;From the breakpoint popup select &amp;quot;When Hit&amp;quot; and check &amp;quot;Print Message&amp;quot;. &amp;nbsp;If &amp;quot;Continue Execution&amp;quot; is checked (which it is by default as soon as you select &amp;quot;Print Message&amp;quot;), you have a Tracepoint.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8594455" width="1" height="1"&gt;</description></item><item><title>a-foton &amp;raquo; Did you know??? You can use Tracepoints to log ???printf??? or ???console.writeline??? info without editing your code? - #237</title><link>http://blogs.msdn.com/b/saraford/archive/2008/06/13/did-you-know-you-can-use-tracepoints-to-log-printf-or-console-writeline-info-without-editing-your-code-237.aspx#8594328</link><pubDate>Fri, 13 Jun 2008 13:48:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8594328</guid><dc:creator>a-foton &amp;raquo; Did you know??? You can use Tracepoints to log ???printf??? or ???console.writeline??? info without editing your code? - #237</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://blog.a-foton.ru/2008/06/13/did-you-know%e2%80%a6-you-can-use-tracepoints-to-log-%e2%80%9cprintf%e2%80%9d-or-%e2%80%9cconsolewriteline%e2%80%9d-info-without-editing-your-code-237/"&gt;http://blog.a-foton.ru/2008/06/13/did-you-know%e2%80%a6-you-can-use-tracepoints-to-log-%e2%80%9cprintf%e2%80%9d-or-%e2%80%9cconsolewriteline%e2%80%9d-info-without-editing-your-code-237/&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8594328" width="1" height="1"&gt;</description></item></channel></rss>