Finding Out The Current User in the Debugger

Every once in a while, while debugging multi-threaded applications that do impersonation, it becomes useful to figure out the context that the current thread is running under.  This is especially useful when debugging server scenarios where connections are farmed out to worker threads which begin their work by impersonating the user logging in.  Before Whidbey…


Whidbey’s New SecurityException

One of the more difficult things to debug with .NET 1.0 and 1.1 is the security exception.  With these frameworks generally the only information that you got was the state of the failed permission.  Due to the complexity of debugging security problems, most people just gave up and required that their code run in a…


What Happens When My Application Throws An Unhandled Exception

There are several different behaviors that can occur when a managed application throws an unhandled exception.  The two most common are to bring up an error dialog box, or to pop up the Visual Studio Just In Time Debugger dialog box. The first behavior is the default when you install the CLR, but don’t install…


ClickOnce Bootstrapper Manifest Generator

David Guyer, from the VB.Net test team, has released his ClickOnce Bootstrapper Manifest Generator on GotDotNet.  This tool allows you to generate manifests that describe any pre-requisites to install for a ClickOnce application.  You can find more details in the Powertoys blog.

New Debugger Features for Whidbey

Andy blogs about the new features in the Visual Studio 2005 debugger.  Of all these, tracepoints seems the most exciting to me, although life will be made much easier with visualizers and the STL data display.

Whidbey Beta 1 Ships

Well, we’ve finally released beta 1 of .NET 2.0 and Visual Studio 2005.  In adition to the beta 1 release, we’ve also announced Express SKUs for Visual C++, Visual Basic, Visual C#, Visual J#, and SQL Server (as well as a web developer express SKU).  The Express SKUs target students and people just learning to program, and the…


Opening a command prompt for your project

Sometimes while working with a VS.Net project, you need to run a command line tool, either on the sources or output of the project.  VS provides an easy way to add a menu item that will open a command prompt in the target directory of your application, or in the source folder. In order to…


Debugging the Debugger

Min Kwan Park’s blog was making the rounds of the various Microsoft blogs yesterday, but I thought I’d also post a link for anyone who missed it (and also so I can find it again easily in the future). He’s posted a helpful checklist of things to try if you can’t make the VS.Net debugger…

Fun with the Visual Studio Find Combo Box

It’s interesting to note all the power of the find combo box in the Visual Studio command bar.  It’s easily one of the more useful controls I’ve ever used, yet it just sits there all quiet and unassuming.  I’ve run into a lot of people who know one of two tricks that can be done…