Advanced Debugging with Visual Studio

5

description

Advanced Debugging with Visual Studio. Please note: this session is a „classic“ with a change/addition rate of about 10-15% per year. If you‘ve seen a previous version, you might therefore already know quite a bit of it .... (But you‘re of course more than welcome to join again! ;-)). - PowerPoint PPT Presentation

Transcript of Advanced Debugging with Visual Studio

Page 1: Advanced Debugging with Visual Studio
Page 2: Advanced Debugging with Visual Studio

Advanced Debuggingwith Visual Studio

Ingo Rammer | thinktecture | [email protected] | @ingorammer

Please note: this session is a „classic“ with a change/addition rate of about 10-15% per year.

If you‘ve seen a previous version, you might therefore already know quite a bit of it ....

(But you‘re of course more than welcome to join again! ;-))

Page 3: Advanced Debugging with Visual Studio

Ingo Rammer and thinktecture• Support and consulting for software architects and

developers– Architectural Consulting and Prototyping– Developer-Coaching and -Mentoring– Application Optimization, Troubleshooting, Debugging– Architecture and Code Reviews

• Slides/Samples: http://weblogs.thinktecture.com/ingo• [email protected]• @ingorammer

Page 4: Advanced Debugging with Visual Studio

• What else can I do with breakpoints? (Tracepoints, Groups, Conditionals, Macros)

• How can I change the display for variables windows (from [DebuggerDisplay] to [DebuggerTypeProxy] and Debugger Visualizers)

• How does VS support me with multithreaded debugging?• How can I debug foreign assemblies? (Breakpoints/Source stepping)• How should I work with Exceptions to simplify debugging?• How can I share information with another developer (breakpoint export,

pinned variables)?• How can I isolate hard-to-reproduce problems during development?

(Intellitrace)• How can I use Intellitrace during test? • How can I find problems which only happen at the user's computer? (Crash

dump debugging)• Which other tools are essential? (DebugView, BareTail, Reflector Pro,

LinqPad, Attach To Process-Macro ...)

Page 5: Advanced Debugging with Visual Studio