Using the Command Window

One of the most underappreciated features of Visual Studio .NET 2003 is the Command Window. Did you know there are a bunch of command alias shortcuts available for use in the command window? I use ‘?’ all the time, but I didn’t know about the others. And then there’s the subtle distinction between immediate mode and command mode: enter >cmd and immed to switch between the two.

As I mentioned above, I frequently use ?(value) to dump out the contents of structures in the Command Window. This works, but it’s kinda ghetto. A more sophisticated way to view data structures in real time will appear in Whidbey; custom data visualizers, which automatically display structures in an easier to understand visual format. And naturally you can extend the visualizers with custom viewers for whatever crazy data structure you’re creating, too – even the humble hashtable.

You don’t have to wait for Whidbey, though. There are a handful of less integrated, but still useful, ad-hoc visualizers available for VS.NET 2003. For example, this DataSet visualizer, and Daniel Cazzulino offers this cool visualization hack using VSTweak.

Related posts

Revisiting Edit and Continue

Edit and Continue, which shipped in Visual Studio 2005, is generally regarded as A Good Thing. It’s pretty difficult to argue against the benefits of immediacy when debugging, but that isn’t about to stop some people: * Frans Bouma People who grew up with assemblers, the gnu commandline C

By Jeff Atwood ·
Comments

DCOM, XP SP2, and Remote Debugging

I debug remotely at home, mostly because I prefer not using the crippleware version of IIS. It's kind of a pain to get it running, because you have to be more careful with permissions and configuration, but basically it works. At least, it worked until I installed XP

By Jeff Atwood ·
Comments

Edit and Continue

I'm looking forward to VS.NET 2005 like everyone else, but the one killer feature that will absolutely compel me to upgrade on day of release is Edit and Continue. I had no idea exactly how much time I spent editing live code in VB6's debugger

By Jeff Atwood ·
Comments

Recent Posts

Stay Gold, America

Stay Gold, America

We are at an unprecedented point in American history, and I'm concerned we may lose sight of the American Dream.

By Jeff Atwood ·
Comments
The Great Filter Comes For Us All

The Great Filter Comes For Us All

With a 13 billion year head start on evolution, why haven’t any other forms of life in the universe contacted us by now? (Arrival is a fantastic movie. Watch it, but don’t stop there – read the Story of Your Life novella it was based on for so much

By Jeff Atwood ·
Comments
I Fight For The Users

I Fight For The Users

If you haven’t been able to keep up with my blistering pace of one blog post per year, I don’t blame you. There’s a lot going on right now. It’s a busy time. But let’s pause and take a moment to celebrate that Elon Musk

By Jeff Atwood ·
Comments
The 2030 Self-Driving Car Bet

The 2030 Self-Driving Car Bet

It’s my honor to announce that John Carmack and I have initiated a friendly bet of $10,000* to the 501(c)(3) charity of the winner’s choice: By January 1st, 2030, completely autonomous self-driving cars meeting SAE J3016 level 5 will be commercially available for passenger use

By Jeff Atwood ·
Comments