Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Visual Studio 2... » Debugging   (RSS)

How to edit code when debugging a 64-bit application

One of the most popular features in the Visual Studio debugger is the ability to edit code during a debug session and have the changes apply without having to stop the debugger, recompile the application and then run the application to verify the changes.
Posted by habibh | 0 Comments

Class Breakpoint: How to set a breakpoint on a C++ class in the Visual Studio Debugger

When debugging an application, there are times when you want the debugger to stop whenever any of the functions in a particular class are called. An example of this may be when you are trying to find out which object is calling your class. Of course,
Posted by habibh | 0 Comments

Troubleshooting common breakpoint problems in the Visual Studio debugger (Part I)

On the Visual Studio debugger team, one of the areas where we regularly receive feedback is when breakpoints don't work. Furthermore, some of the error messages that the debugger displays when a breakpoint fails are generic so it might be hard to diagnose

How to debug a 64-bit dump using the Visual Studio debugger

One of the questions that comes up about debugging dump files is how to debug a dump file that was created from a 64-bit process. The reason why this question comes up is because Visual Studio itself is a 32-bit application and therefore, cannot debug

Debugging 101: How to skip over code in the Visual Studio Debugger

One of the questions that comes up regularly on newsgroups is "How do I skip over a section of my code in the Visual Studio debugger?" The answer depends on the meaning of the word "skip" but in general, there are three ways that you

Quick Tip: How to move a breakpoint in the Visual Studio debugger

Setting a breakpoint in the Visual Studio debugger is as simple as placing your cursor on a line of code and pressing F9. However, once you've set the breakpoint, how do you move it to a different location since clicking on the breakpoint will delete
Posted by habibh | 0 Comments

Walkthrough: Debug a WPF window or Windows Form without running your application [Video]

Most Windows GUI applications share a common trait. They all have multiple forms and/or dialogs. In the screenshot below, this simple application alone has four WPF windows. If I want to debug the main window, that's easy. I just press F5 and the main
Posted by habibh | 0 Comments

Fun with Breakpoints in the Visual Studio Debugger

Once in a while, I come across a feature in the debugger where I ask myself: "I wonder if anyone knows about this feature!" Yesterday, I came across just such a feature: Did you know that the debugger can play a sound when a breakpoint is triggered?
Posted by habibh | 1 Comments
 
Page view tracker