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)
Category Archives: Debugging
Debugging a Process Launch
While this is hardly a hidden setting, I found myself spending too much time to find it twice already – the msdn page describing it appears low on search results, since it uses very different terminology. So, if only for … Continue reading
Posted in Debugging, Visual Studio
Leave a comment
Extending Error Codes – to DirectX and Beyond.
$err,hr is quite useful as is, but it only knows how to interpret built-in error codes. Happily, there is an easy way to extend it, via a section in autoexp. All it takes is adding lines of the form – … Continue reading
Posted in Debugging, Visual Studio
Leave a comment
Watching Errors in Visual Studio
System and COM routines often set an error code, that can be retrieved by GetLastError. There are several ways to decipher this code – (1) Use the command line net helpmsg, (2) From the VS menu, select Tools/Error Lookup … Continue reading
Posted in Debugging
2 Comments
2D Matrix Watch – Introducing autoexp.dat
Deep inside your VS installation (%VS installation%\Common7\Packages\Debugger), hides a bag of goodies called autoexp.dat. It is only semi-official, and almost entirely undocumented. Andy Pennell confesses its his fault, but I suspect there’s more to it. Admittedly, its still (as of … Continue reading
Posted in Debugging, Visual Studio
4 Comments
Watching members in release builds
A typical development scenario: you fight a bug that raises its head only in production build. You step through your code and inspect member variables, only to be greeted by utter garbage. There’s an easy workaround, surprisingly. The calling convention … Continue reading
Posted in Debugging, VC++, Visual Studio
Leave a comment
