Debugging Trick

January 21, 2007 – 11:38 am

A neat trick when debugging: give the object a unique ID (to avoid confusion if it’s relocated by the garbage collector in a way that changes its address), then break on that ID.  I really, really want someone to write a good book on debuggers.

Post a Comment