Search   Feed   Browse   Add
Feed items 1 - 4 of 4 for December 2005

Bug Babble

Bugs, debuggers, stuff

Simple VS Addin (updated) - December 21, 2005

Back during the PDC for Whidbey I wrote a post about Creating a Simple Addin.  Recently I was looking to update it and found a horrible bug in it.  First, here is the corrected code:   public void OnConnection(object application, ext_ConnectMode connectMode, object addInInst, ref Array custom)    _applicationObject = (DTE2)application;    _addInInstance = (AddIn)addInInst;    _debuggerEvents =...
http://blogs.msdn.com/stevejs/archive/2005/12/21/506477.aspx

Naming threads in Win32 And .Net - December 20, 2005

When you are debugging an application with multiple threads it can be handy to have a better name than just the thread id.  This is simple to do in managed code.  There is a property on the Thread object that you can set.  It is also possible to do this for native code. However, there is simply no way you will ever discover it unless someone points you to the difficult to find docs.  I knew about the feature and still missed the docs the first time I.
http://blogs.msdn.com/stevejs/archive/2005/12/19/505815.aspx

FuncEvil, the Clipboard, and Deadlocks - December 9, 2005

Mike Stall has a great post that, for a debugger dev, is the moral equivalent of sticking a fork in a toaster.  The basic problem he addresses is that once you are stopped in the debugger the UI for your application will no longer paint.  What if you need to see something on that UI  If you like to live on the edge, Mikes Evil trick to render UI when stopped at a breakpoint is the answer for you.  Unfortunately, you need to be stopped on the UI thread for it to work. ...
http://blogs.msdn.com/stevejs/archive/2005/12/08/501939.aspx

Change Debugger behavior with Attributes - December 3, 2005

Certain metadata attributes modify the stepping, breakpoint, and callstack behavior of the VS managed Debugger.  This is useful if you are creating an interpreter, language runtime, or a tool that modifies the code in a managed assembly.  There are three flavors of these attributes that affect execution control.  Each behaves slightly differently, and I always forget which does what, so I'm recording it here for my own reference as well.    The code below shows...
http://blogs.msdn.com/stevejs/archive/2005/12/03/499803.aspx
Available Archives
- October (4 items)
- November (7 items)
- December (4 items)
Sponsored Links
© 2008 FeedCapsule.com  |  Contact