LID - Lock Inversion Detector


LID is our free Lock Inversion Detector.

LID monitors your application's use of Windows locking APIs as it runs and tracks how each of the threads in your application uses locks. It detects situations where multiple locks are acquired in different orders. These locks inversions are deadlocks waiting to happen and LID will report details of them all at the end of the test run. Of course if a deadlock actually occurs during the test run LID will exit the test and report on the deadlock and any other lock inversions that it has located.

LID is a simple, command line utility, no installer is necessary, just download and go.

LID uses the same monitoring technology as our other tools but reports in far less detail. If run regularly it can detect lock inversions as soon as you build them into your software and the limited detail will be enough for you to be locate the problem areas, this makes it ideal to run as part of the test phase of your continuous integration build. If someone introduces a lock inversion then LID will spot it as soon as the code involved executes. The code doesn't have to deadlock, it just has to run.

Whilst LID can keep your code clean, it doesn't provide enough detail to help you find lock inversions in mature codebases. If you need more power then you can buy our Lock Inversion Analyser which produces detailed stack traces of each problem location and makes finding lock inversions and potential deadlocks simply a matter of running your program.

Latest News

New release of deadlock detection tools - 1.3.0.406
We've released new versions of both our Lock Inversion Detector, LID and our Lock Inversion Analyser, LIA today. This…
New release of deadlock detection tools - 1.2.0.329
We've released new versions of both our Lock Inversion Detector, LID and our Lock Inversion Analyser, LIA today. This…
New release of deadlock detection tools - 1.2.0.320
We've released new versions of both our Lock Inversion Detector, LID and our Lock Inversion Analyser, LIA today. This…