CodeSite 2, from Raize Software , is a powerful debugging tool for Borland Delphi and C++Builder. The problem? Often not all of the logic in your application is contained in Delphi or C++Builder code. Some logic is often contained in Stored Procedures and Triggers. However, by itself, CodeSite will only let you trace the flow of execution to the boundary of your Delphi or C++Builder code. What goes on inside your database is pretty much a mystery to CodeSite.

Well, IBSite tries to fix that. IBSite is a free extension to CodeSite 2 which allows CodeSite messages to be sent from Interbase Stored Procedures and Triggers. It comes as a collection of UDF’s (User Defined Functions), which once installed into Interbase, can be called like any other statement from Interbase SQL.


IBSite has been tested with CodeSite 2 Professional and Interbase v6.0 on Windows. I don’t think I’m taking advantage of any of the features not present in CodeSite 2 Standard, so I believe it should also work with the Standard Edition, but let me know if you strike any issues. Additionally, Interbase has had UDF support for a number of versions, so I believe it should also work with any Interbase version on Windows which supports UDF’s. As I, or others, try it out with more versions, we’ll post the results.


As an example, the following test Stored Procedure:

produces the following output in the CodeSite 2 viewer:

Click image for larger screenshot

Currently, IBSite supports the following CodeSite 2 calls, inside your Interbase SQL code. This seems to cover most basic requirements.

IBSite Equivalent
CodeSite.Category csCategory
CodeSite.CategoryColor csCategoryColor
CodeSite.AddSeparator csAddSeparator
CodeSite.AddCheckpoint csAddCheckpoint
CodeSite.ResetCheckpoint csResetCheckpoint
CodeSite.SendMemoryStatus csSendMemoryStatus
CodeSite.Clear csClear
CodeSite.Enabled := True csEnable
CodeSite.Enabled := False csDisable
CodeSite.Enabled csEnabled
CodeSite.DestinationDetails csDestinationDetails
CodeSite.EnterMethod csEnterMethod
CodeSite.ExitMethod csExitMethod
CodeSite.SendMsg csSendMsg
CodeSite.SendString csSendString
CodeSite.SendInteger csSendInteger
CodeSite.SendFloat csSendFloat
CodeSite.SendNote csSendNote
CodeSite.WriteInteger csWriteInteger
CodeSite.WriteFloat csWriteFloat
CodeSite.WriteString csWriteString
CodeSite.WriteMsg csWriteMsg


v1.0 – 18 August 2001

  • Initial Public Release
CodeSite is a trademark of Raize Software .
Interbase is a trademark of CodeGear

Be the first to leave a comment. Don’t be shy.

Join the Discussion

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">