DebugServer

From Free Pascal wiki
Revision as of 11:53, 9 May 2014 by BigChimp (talk | contribs)
Jump to navigationJump to search

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

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

and set it up as an external tool:

$(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.

See also