This is a slightly modified version of the FPC/Lazarus Debug Message Server designed to work better on Mac OS X. This is a developer tool which shows messages from programs being debugged if they have been coded in such a way to send the messages (see below).
Changes:
Several bugs related to window hide/show functionality. (Removed this function as it is build into Mac OS X anyway). Fixed: The application was impossible to quit. Added spiffy icon. (Note: Not designed by me! Taken from HybridWorks iCorn Project). Minor aesthetic fixes and changes.
Usage:
From the original included Readme.txt:
uses dbugintf,sysutils;
Procedure BackupFile(FN : String);
Var
BFN : String;
begin
SendMethodEnter('BackupFile');
BFN:=FN+'.bak';
SendDebug(Format('backup file "%s" exists, deleting',[BFN]));
SendDebug(Format('Backing up "%s" to "%s"',[FN,BFN]));
SendMethodExit('BackupFile');
end;
Procedure SaveToFile(FN : String);
begin
SendMethodEnter('SaveToFile');
BackupFile(FN);
SendDebug('Saving to file '+FN);
SendMethodExit('SaveToFile');
end;