Sign in Join
Wiki copytemporary

Revision 2 of 4, by WikiArchive on 11-4-2026. The page as it is now.

DebugServer

Overview

Official documentation: doc:fcl/dbugintf

You can send debug output from your program to a debug server application. A debug server application is included with Lazarus; you can compile

pascal
$(LazarusDir)/tools/debugserver/debugserver.lpi

and set it up as an external tool:

pascal
$(LazarusDir)/tools/debugserver/debugserver$(ExeExt)

DebugServer.png

Alternatively, FPC has a text mode debug server which can also be used; see documentation.

To use it, add dbugintf to the uses clause of the units you want to debug, then use SendDebug to send messages to the debug server.

For more details, please see the documentation.

--DD 05:38, 3 October 2015 (CEST): Does not seem to be thread safe!

See also


From the Free Pascal wiki, page "DebugServer", as the Internet Archive kept it on 2023-04-01. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.