Debugger Tips, Tricks and Tools 10- November 30, 2005 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 to. You can choose any combination of process, transport, qualifier and code-type. Click the Stop Recording macro toolbar button, or press..http://blogs.msdn.com/jimgries/archive/2005/11/30/498264.aspx Debugger Tips, Tricks and Tools 9- November 28, 2005 Making native array viewing easier with Enhanced DataTips I'm back from vacation, and have a new found respect for people (mostly US wiveswomen, 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 the end of the day I was completely exhausted. But it all turned out great! Anyway onto a new debugging trick. This one...http://blogs.msdn.com/jimgries/archive/2005/11/28/497609.aspx Debugger Tips, Tricks and Tools (On vacation)- November 21, 2005 Spending the week on vacation. I'll return with more tips next week! Happy Thanksgiving!http://blogs.msdn.com/jimgries/archive/2005/11/21/495173.aspx Debugger Tips, Tricks and Tools 8- November 18, 2005 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 choose "Sounds, Speech, and Audio Devices", then "Change the sound scheme" If you are in Classic View choose "Sounds and Audio Devices", then choose the...http://blogs.msdn.com/jimgries/archive/2005/11/18/494320.aspx Debugger Tips, Tricks and Tools 7- November 17, 2005 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, I would often end up resorting to printf-style debugging. Either that, or I'd need to make sure that my debugger is...http://blogs.msdn.com/jimgries/archive/2005/11/17/493919.aspx Debugger Tips, Tricks and Tools 6- November 16, 2005 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 other words, it's quite similar to being able to get the address of an object in C or C++ so that you can refer to that particular object at any time during...http://blogs.msdn.com/jimgries/archive/2005/11/16/493431.aspx A welcome tool for improving Windows color management!- November 16, 2005 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 easier to actually blog about digital photography. Truthfully, due to some interesting personal issues I havent been able to focus on my hobbypassion for well over a year. So..http://blogs.msdn.com/jimgries/archive/2005/11/15/493297.aspx Debugger Tips, Tricks and Tools 5- November 15, 2005 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 of pDoc->m_strTitle and the right mouse button was clicked. This invokes the context menu for the item and your presented with a set of operations you can.http://blogs.msdn.com/jimgries/archive/2005/11/15/492957.aspx Debugger Tips, Tricks and Tools 4- November 14, 2005 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 DataTips that you might not know about -- they have some limited keyboard support. To get access to it, you first must expand a...http://blogs.msdn.com/jimgries/archive/2005/11/14/492502.aspx Debugger Tips, Tricks and Tools 3- November 11, 2005 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 to print a message when they are "hit". This functionality is fairly obvious in its usefullness, I think (hope). For you newbies out there, to create a tracepoint,.http://blogs.msdn.com/jimgries/archive/2005/11/11/491822.aspx |