Visual Studio Debugger Tips & Tricks
- Posted: Oct 29, 2008 at 9:39 AM
- 127,906 Views
- 6 Comments
Download
How do I download the videos?
- To download, right click the file type you would like and pick “Save target as…” or “Save link as…”
Why should I download videos from Channel9?
- It's an easy way to save the videos you like locally.
- You can save the videos in order to watch them offline.
- If all you want is to hear the audio, you can download the MP3!
Which version should I choose?
- If you want to view the video on your PC, Xbox or Media Center, download the High Quality WMV file (this is the highest quality version we have available).
- If you'd like a lower bitrate version, to reduce the download time or cost, then choose the Medium Quality WMV file.
- If you have a Zune, WP7, iPhone, iPad, or iPod device, choose the low or medium MP4 file.
- If you just want to hear the audio of the video, choose the MP3 file.
Right click “Save as…”
- MP4 (iPod, Zune HD)
- Mid Quality WMV (Lo-band, Mobile)
- High Quality WMV (PC, Xbox, MCE)
The Visual Studio Debugger provides a slew of features that make the task of debugging both easier and more efficient. Learn about time-saving tips and tricks for all versions of the Visual Studio Debugger, including the new debugger features in Visual
Studio 2010. Hear about the new mixed-mode debugging feature, the breakpoints window enhancements, the new WPF visualizers, and a number of other features. Also learn about thread debugging enhancements, new features for making stepping into properties easier,
and more. Join us as we crack open the toolbox and walk through some of the debugger's best practices.
-
John CunninghamJohn has been in the business of debuggers and diagnostic tools for around 15 years. He cut his teeth on debuggers for Windows 16 and 32bit, SunOS and Solaris. After a brief stint doing embedded debuggers at Wind River Systems, John joined Microsoft during the Visual Studio .Net product cycle. He has worked as a developer and lead on native and managed debuggers. John was part of the TeamSystem team from Day -30, working on the VS profiler and code coverage. Since then John has worked on starting the project for the application flight recorder as well as continuing to develop debugging and profiling technologies. John dreams in CodeView records. There is no cure.
Comments Closed
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
You can use a conditional breakpoint and use an expression with "has changed", but it is not nearly as performant as a databp, and it is not the same thing (the DRs fire no matter if you are writing the same value back).
Anyway - hope you enjoyed the talk,
John
I enjoyed the talk, but I also wished you'd been able to get it in. I'm a native programmer switching to .Net.
I'm not sure why they'd be any more 'weird' in .Net than they are under Native.
As a games programmer, I've had several problems that I've had to troubleshoot in release mode because it takes too long to run things in debug mode. I assume that for .Net, I'd have to attach to the process after it starts to avoid running a debug build. I assume that a release build would inline the accessor, to the only optins available are hardware breakpoints and print statements
I've found them fantastically useful in debugging things like buffer overruns in native code. Even though that class of bugs isn't supposed to be there, I suspect that there is a new class of bugs related to multi-threading that are coming at us. Data breakpoints seem like an obvious way (to me) to troubleshoot these types of issues.
Ralph
Thanks, nice lecture!
Also i would like to share an Add-in for visual studio that makes it easy to attaching to process lazy.codeplex.com/
Nice tips let me just share that for debugger security you must be able to trust what you are debbugin, I think this is the most careful step for debuggin, there are many trheats and consequences involved. As Ralph tricky mentionede it takes too long to run things in debug mode
Remove this comment
Remove this thread
close