Bug Babble

Bugs, debuggers, stuff

Browse by Tags

Tagged Content List
  • Blog Post: Simple VS Addin (updated)

    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) {...
  • Blog Post: Naming threads in Win32 And .Net

    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...
  • Blog Post: FuncEvil, the Clipboard, and Deadlocks

    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...
  • Blog Post: Change Debugger behavior with Attributes

    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...
  • Blog Post: Netmodules: Sort of like a lib

    I first ran into netmodules before VS 2002 was shipped. The netmodule gave me precisely what I asked for, without actually solving my problem. I wanted to use multiple languages (C#, and C++ /clr) in a single assembly. It turns out a single assembly can be multi-module. Multi-module means a single .Net...
  • Blog Post: Post Mortems

    I won the guess the murderer contest. Shai and I compete to guess who the real murderer is on Law and Order Criminal Intent. Last night we watched Sunday's two hour show. It's a toss up who wins, but one of us always gets it by two thirds of the way through. That's the point where the amount of time...
  • Blog Post: Perf Awareness is not Premature

    I've found myself adding a timer to each of the unit test frameworks I use so I can see how long my tests take. I am not trying to do anything complex. I just want to be aware of the perf. The same way pass and fail are visible, 1ms vs 90ms is visible. Premature optimization rightly has a bad rep...
  • Blog Post: Tabs vs Spaces

    Of course, there is only one answer to whether tabs should be allowed in a source file. The utility of one is just so obvious I'll simply avoid commenting on it. :-) If you must wander from sources written with one convention to those written in another, you should definitely set Visual Studio...
  • Blog Post: More hours in the day

    In the summer of '94 I sketched a design for my ideal 'mp3' player. I didn't spec the compression format. If I had, it would have been called a 'bit' player back then. I wanted a walkman replacement. However, the feature I most craved was understandable fast play, and rewind. My motive was to record...
  • Blog Post: Login fun

    Jeff Atwood argues that the Login dialog should infer the username from the password: http://www.codinghorror.com/blog/archives/000413.html . That reminded me that many user's of XP home don't have a password, which is even simpler. If you are cringing at the thought of a blank password; Uncringe...
  • Blog Post: Full Impact Dance Nostalgia

    Shai is an artist in crunch mode, so I was a lone bachelor at the Dance Underground last night. Lindy Hop is my Performance-Art-Sport relaxation. Simple basics with a tentative newcomer, or stanzas of movement with a confident pro, are a joy after a long separation. Back in the day, dancing five...
  • Blog Post: unread writer

    I've never read a book by my favorite writer. Joss Whedon created the TV shows Buffy the Vampire Slayer, Angel, and Firefly. Now, he's created the movie Serenity. Orson Scott Card (also not bad in the writing department) says Serenity is the best sci fi movie he's seen . I thought it was incredible,...
  • Blog Post: Learning about Strengths

    I knew he wouldn't read them, so I asked to borrow the two management books on Andy's ottoman. Ironically the books explained why I borrowed them, as well as why Andy didn't want to read them. The books were "First Break all the Rules" , and "Now Discover your Strengths" . The first book explains...
  • Blog Post: One week only!

    Eveyone seems to be leaving town for a week. Many are claiming to be enroute to some 'PDC ' in LA. Yet suspiciously, this so called 'PDC' lasts precisely a week. A very fashionable week . Is this just coincidence? Or am I simply not in the loop? Actually, my friend Daniel writes for About.com and...
  • Blog Post: Parse Error!

    Ebay has an SDK . From the site: "Now Available: eBay SDK for Windows 3.0" My first thought: Who is still using Windows 3.0? Why would anyone make an sdk for it? Back up. Reparse. It's the 3.0 Version of the eBay SDK. Ah ha! Interesting. This might be fun to play around with in VS Whidbey. I don...
  • Blog Post: The Best Software Writing I, and 'I love Bees'

    I bought this book yesterday and just finished at lunch today. Some of the articles were ones I'd read before as almost all of them are online. However they are such good articles it was a joy to read them again in print. Joel mentions reading every single blog entry by "Rands" when he first discovered...
  • Blog Post: Is this obvious?

    using System; using System.Collections.Generic; class LearnTheMaterialsYouWillUse { static void Main ( string [] IsThisObvious) { TimeSpan passesBeforeYouKnowIt; DoYouNodeThis aBigOlTree = new DoYouNodeThis(21); passesBeforeYouKnowIt = TimeIteration(aBigOlTree.InOrder1(...
  • Blog Post: Unfortunate Contribution

    Me: that stupid WeatherBug thing is on IE as well! Shai: It's my special contribution to your world. Me: You are crapifying my computer. Shai: I only wish I could put it on my Mac as well. My wife has been using my laptop since she broke her leg last month. Her favorite program seems to be WeatherBug...
  • Blog Post: New to us Games

    My wife Shai just got a 'new' old video game: Equestriad 2001 . We had to run it in Windows 98 compatibility mode or it would randomly exit on WinXP. (In my opinion the compatibility guys are unsung heros.) I've also been playing a 'new to me' video game Vampire The Madquerade: Redemption . Shai got...
  • Blog Post: A few Great Books

    I lent out a couple of books today. For nonfiction books I measure how good they are by how many times I tell my wife about some snippet in the book. For great books, Shai can't read them, because I've basically narrated the entire book to her. I lent The Goal by Eliyahu Goldratt to Jim , and I lent...
  • Blog Post: A few Great Books

    I lent out a couple of books today. For nonfiction books I measure how good they are by how many times I tell my wife about some snippet in the book. For great books, Shai can't read them, because I've basically narrated the entire book to her. I lent The Goal by Eliyahu Goldratt to Jim , and I lent...
  • Blog Post: Left Side, Right Side

    Never refer to two software components as 'The Left Side' and 'The Right Side'. The name will stick, and resist any attempt at change. The underlying debugging componets for the CLR are loaded into both the debugger and the debuggee. I remember which is which by thinking about how it should be named...
  • Blog Post: Blast from the past

    An old friend from college found me via this blog. Hi Chuck! He and I used to work in the Autonomous Robot lab at Draper Laboratory. Here’s a paper about the robot I did my thesis on. I designed and implemented the mapping system. That robot was at least $50K. It was filled with lots of gadgets all sitting...
  • Blog Post: Crave and Vivace

    Shai and I ate dinner at Crave , a new place down the street from home. The Rosemary flatbread is incredible. Everything is incredible. Places like this make me happy to live in my neighborhood. Since I decided to break down and post something food related, I also have to mention the best espresso on...
Page 1 of 1 (24 items)