We are happy to announce the first beta release of the new SmartInspect Delphi Plugin. This plugin allows you to easily add Enter/LeaveMethod calls to your Delphi source code by automatically instrumenting selected methods and functions. Although the plugin still has some limitations, it already works very well for the Delphi Units we tested it with. Click on the screenshot below to see the plugin in action:
The final version of this plugin will be shipped together with a future SmartInspect release. Until then, feel free to use this plugin to instrument your source code with Enter/LeaveMethod calls and please send us any bug reports and feature requests. We also plan to build additional plugins for other IDEs, including Visual Studio.
If you are comfortable with using unfinished (beta!) software, please download the SmartInspect Delphi Plugin here and make sure to read the Readme.txt for installation instructions:


4 Comments
This is really handy thanks. One suggestion, there should be an option to prevent instrumenting methods marked inline as these are usually small and simple enough that instrumenting them only adds to the noise level.
Glad you found it useful Lachlan. An option to prevent instrumenting inline functions shouldn’t be too difficult, as we are already detecting method modifiers. We will look into it for a future beta/release.
This is very useful. It would also be nice to insert TrackMethod calls instead, as code that exits or throws exceptions currently isn’t handled with just the EnterMethod/LeaveMethod calls. Macros on Enter/Leave method or full source for the plugins could also be used to accomplish the same thing very easily.
Hi Tim, great to hear that you like the Delphi plugin. We will look into instrumenting TrackMethod, although the first official release (with the 3.0) probably won’t include support for this.
2 Trackbacks
[…] had recently the need for a Delphi parser for our SmartInspect Delphi plugin. Because we couldn’t find one that suited our needs, we had to write our own one (an […]
[…] Plugin enables you to automatically add Enter- and LeaveMethod calls to your Delphi code. We did a video of the instrumenter when the first beta was […]