Debugger Tips, Tricks and Tools #10

Create a one-step operation to attach to a process If you find your debugging session typically involves attaching to a specific process you can save yourself some time in VS 2005 by creating a macro to do it for you. Choose Tools->Macros->Record Temporary Macro Choose Tools->Attach to Process and choose the process you want to attach…

1

Debugger Tips, Tricks and Tools #9

Making native array viewing easier with Enhanced DataTips I’m back from vacation, and have a new found respect for people (mostly US wives/women, I presume) that slave all day over preparing a Thanksgiving meal and then cleaning it all up.  Yep, I did the whole turkey, potatoes, yams, corn, etc. thing this year for me and my kids.  By…

0

Debugger Tips, Tricks and Tools #8

Noisy breakpoints! Ok this feature has been around for a long time, but it’s really almost impossible to discover on your own.  Scott Nonnenberg asked me to remind him out to do this yesterday and I thought HEY good idea for a tip!  Here’s what you do: Open the Windows Control Panel If you are in Category View…

1

Debugger Tips, Tricks and Tools #7

Moving tracepoints and breakpoints around I have found the addition of tracepoints in Visual Studio 2005 extremely useful, allowing me to debug issues that have normally been pretty difficult to deal with.  For example, UI debugging often involves breaking into code that was invoked due to the receipt of a WM_PAINT message.  In the pre-tracepoint world,…

2

Debugger Tips, Tricks and Tools #6

Create an Object ID to keep track of an object while debugging In yesterday’s tip I hinted at another new feature of the debugger specially designed for C# and J# programmers.  This is the ability to create an Object ID  for any particular object during your debugging session, no matter what your current context is.  In…

5

A welcome tool for improving Windows color management!

It’s been a very long time since I blogged about digital photography and yet I noticed that my recent debugger blogs have been appearing on the Digital Photography Community.  So, rather than fight the fight I would need to do to get filtering of my debugger specific blogs from there, I thought it might be…

0

Debugger Tips, Tricks and Tools #5

Enhanced DataTips have a context menu Because of the transient nature of DataTips inside Visual Studio 2005, you may not be aware that there useful operations you can perform on selected item within a datatip by opening a context menu on it.  In the above example, the cursor has been hovered to the m_strTitle member…

0

Debugger Tips, Tricks and Tools #4

Keyboard navigation and transparency with Enhanced DataTips Steve Steiner recently blogged about how to make DataTips temporarily transparent in case you need to see what they might be covering up.   This was going to be one of my upcoming tips, but he beat me to it!  🙂  Anyway, with that post he touched on another aspect of…

0

Debugger Tips, Tricks and Tools #3

Use tracepoints to log execution flow and even modify it! You may or may not know about tracepoints one of the cool new features of Visual Studio 2005.  Basically a tracepoint is just like a breakpoint, except it doesn’t break execution of your program.  What use is it then?  Well, rather than break, they allow you…

0