Walkthrough: Using the Tier Interaction Profiler in Visual Studio Team System 2010

In Visual Studio Team System 2010, we’ve made a huge number of improvements to the Profiler. In case you didn’t know that Visual Studio Team System has a Profiler, see the documentation on MSDN. One of the major improvements that we have made to the Profiler is the ability to measure how long the interaction…

0

Sticky DataTips: A new way to view variables in the Visual Studio 2010 debugger

There are numerous ways to view variables in the Visual Studio debugger. You can use the Autos window, Locals window, Quick Watch, four different Watch windows, etc. In Visual Studio 2010, we’ve made it even easier to see the value of variables. Over the years, we’ve conducted countless usability studies, watching users debug applications. One…

0

NetCFSvcUtil.exe and Windows 7

NetCFSvcUtil.exe is the analogous of Svcutil.exe but for devices. You can use it to generate a WCF client from a WCF service. You can then consume the generated client code in a Windows Mobile application . Unfortunately, the current version of NetCFSvcUtil.exe (3.5.7338.0) that is available from Power Toys for .NET Compact Framework 3.5 might…

0

Moving code around in Visual Studio super fast [Video]

As a developer, one of the common tasks is move code around. In this video, I’ll demonstrate how using the Outlining Expansion feature in Visual Studio makes it a whole lot easier to copy and paste entire methods or classes. The trick is using the CTRL+M, CTRL+M shortcut key to collapse bodies of code first….

0

Walkthrough: Adding an existing Visual Studio solution to another solution

Often, developers partition their applications into separate Visual Studio solutions in order to make managing the complexity of the overall application easier. Sometimes, the reverse is true. That is, you may want to combine several existing solutions into one master solution. The reason for doing this may be to make it easier to navigate between…

1

Debug this! How a change in the cloud broke my application

For the first time, I experienced first hand one of the perils of making use of services in the cloud. One of the sample applications that I use here at Microsoft for designing and experimenting with new Visual Studio features is DinnerNow.net. DinnerNow has a client WPF application that among other things hosts a WebBrowser…

0

Troubleshooting the dreaded "Unable to start program ‘%CSIDL_PROGRAM_FILES%…" problem

If you have used Visual Studio to write Windows Mobile applications, you might have come across the following error message when you press F5 to start the debugger: —————————Microsoft Visual Studio—————————Unable to start program ‘%CSIDL_PROGRAM_FILES%\<target_path>’. The system cannot find the file specified. —————————OK ————————— Although the error message seems intuitive, the root cause is far…

0

Web Application Projects: No Help for you!

I always find these types of bugs amusing and somewhat ironic. The other day, I was doing some work with Web Application Projects. When I first tried to open the project, Visual Studio 2008 kindly warned me that in order to use IIS with my WAP, I need to run Visual Studio elevated. Wanting to…

0

An in depth look at the Historical Debugger in Visual Studio 2010 (Part V)

In the fifth installment of this series, I’m going to look at how to use the Historical Debugger to diagnose a Unit Test failure. The experience for using the Historical Debugger for debugging Unit Testing is somewhat similar to diagnosing a manual test failure but the steps are quit different. Example: Debugging a Unit Test…

1

How to avoid stepping into C++ class and function templates in the Visual Studio debugger

  There are a number of C++ libraries that make use of templates. STL, Boost, MFC and ATL are some of the well known libraries that make use of templates. One of the downsides of using these libraries is that they can make debugging tedious. Specifically, when stepping through code, you often end up stepping…

1