Search this blog:
RSS
-
Top Posts & Pages
Categories
Archives
- March 2020 (1)
- November 2017 (2)
- October 2017 (1)
- July 2017 (1)
- November 2016 (1)
- August 2016 (1)
- July 2016 (1)
- March 2016 (2)
- August 2015 (1)
- April 2015 (2)
- March 2015 (1)
- October 2014 (1)
- September 2014 (1)
- August 2014 (1)
- July 2014 (2)
- June 2014 (7)
- February 2014 (3)
- October 2013 (2)
- September 2013 (1)
- August 2013 (2)
- June 2013 (4)
- April 2013 (1)
- March 2013 (2)
- January 2013 (2)
- December 2012 (1)
- September 2012 (2)
- August 2012 (1)
- May 2012 (2)
- April 2012 (6)
- March 2012 (3)
- February 2012 (2)
- December 2011 (2)
- November 2011 (3)
- October 2011 (2)
- September 2011 (1)
- August 2011 (3)
- June 2011 (1)
- May 2011 (3)
- April 2011 (1)
- February 2011 (1)
- January 2011 (2)
- December 2010 (2)
- November 2010 (4)
- September 2010 (1)
- August 2010 (1)
- June 2010 (3)
- May 2010 (2)
- January 2010 (1)
- December 2009 (1)
- November 2009 (3)
- October 2009 (3)
- August 2009 (1)
- June 2009 (2)
- May 2009 (3)
- April 2009 (6)
- March 2009 (5)
- February 2009 (5)
Author Archives: Ofek Shilon
Debug/Release Numerical Differences
We recently had trouble reproducing in debug builds the exact numerical behavior of release builds. This just happens occasionally, and we’re used to accept it as some compiler black magic. This time we dug a bit deeper – I’m pretty … Continue reading
Posted in Debugging, VC++
4 Comments
Debugging Memory Leaks, Part 2: CRT support
This feature is well documented, but yet from what I see – doesn’t get the usage it deserves. Here’s a quick, beginner-oriented rehash – if only to refer my teammates. Problem and Immediate Solution If you’re developing MFC apps, the … Continue reading
Posted in Debugging, VC++
3 Comments
Viewing Debugee Environment Variables
Koby asks – “How suitable is VS automation for doing something like printing the values of all environment variables in the debugee process”? In fact, I just learnt how to do that. type ‘$env=0’, either at a watch window or … Continue reading
Posted in Debugging, VC++, Visual Studio
2 Comments
Breaking on System Functions with the Context Operator
[Edit, Aug 2010:] About a year after this trial-and-error-ish investigation, I accidently found this hidden bit of documentation which pretty much sums it up. The context operator is technically documented, although barely so. Seemed to me the reason is that … Continue reading
Posted in Debugging, Visual Studio
9 Comments
Obtaining Decorated Names
There is a neat command line tool called UNDNAME.EXE to un-decorate a name, but what if you need the opposite? I.e., given a function header, how do you get its decorated name? Well, you could reconstruct it manually. The decoration … Continue reading
Searching Through Memory in Visual Studio
MS maintains two separate debugger product lines – one (supposedly owned by the smaller team) being WinDbg and the other shipped with Visual Studio. There’s an ever-going online flame for superiority between fans of both debuggers (sample 1, sample 2). … Continue reading
Posted in Debugging, VC++
5 Comments
Debugging DICOM Query/Retrieve Communication
I recently had the questionable pleasure of writing a DICOM Q/R-module, for communication with a PACS. A future post may be dedicated to letting some steam out, and listing in detail the reasons I consider DICOM to be the worst … Continue reading
Posted in Debugging, DICOM
4 Comments
Sound Alerts on VS Events – Revisited
I started using the sound alerts on a machine with VS2008 express – and I just learnt that this tweak works for VS2003 and VS2008 but not VS2005. Here’s how it (apparently) came about: First, MS deliberately took it out. … Continue reading
Posted in Visual Studio
Leave a comment
Sound alerts on VS events
When a build is more than a few seconds, I often drift off – to either productive or unproductive activity, but anyway into something I must snap out of. So for me personally, the following just discovered tweak can be … Continue reading
Posted in Visual Studio
1 Comment
Coding Binary as Binary
If you’re comfortable with hex, you have no business in this post. If on the other hand, when faced with a mask like 0xFFA8 you’re forced – like me – to translate it on paper into 11111111 10101000, then by … Continue reading
Posted in Codeproject, Debugging, VC++, Visual Studio
Leave a comment
