October 07, 2005

More on locking

Jeff Darcy over at "Canned Platypus" writes about "How to add locking to a program". He laments the lack of a reasonably priced deadlock detection tool. I assume, from his backgrond, that he's interested in an Linux tool, so my deadlock detection tool wont help him much but it's good to know that it's not just me that thinks such a tool would be useful...

Jeff links to some expensive static code analysis tools that do deadlock detection. My tool doesn't rely on static code analysis, so you don't need to have source to run it. It can tell you that you have a potential deadlock present in the application without debug symbols or pdbs and it can show you where it is if you have the symbols. Of course the advantage of static code analysis is that you don't have to run the code and you don't have to get the code to execute the code paths that could have problems. My deadlock detection tool would, ideally, be run whilst you're running your normal "black box" application tests; and hopefully they exercise all your code paths!


Share this entry: Email it! | bookmark it! | digg it! | reddit!

Posted by Len at October 7, 2005 08:11 AM | Comments (0) | Categories : Debugging Tools , Geek Speak
Comments
Post a comment









Remember personal info?




Enter this code in the box below to prove that you're not some kind of automated spam robot...