Sign in Join
Wiki copytemporary

DebugServer: what changed

Revision 3 to 4. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
11## Overview
22
33Official documentation: [[doc:fcl/dbugintf]]
44
55You can send debug output from your program to a debug server application. A debug server application is included with Lazarus; you can compile
66
7-`$(LazarusDir)/tools/debugserver/debugserver.lpi`
7+```text
8+$(LazarusDir)/tools/debugserver/debugserver.lpi
9+```
810
911and set it up as an external tool:
1012
11-`$(LazarusDir)/tools/debugserver/debugserver$(ExeExt)`
13+```text
14+$(LazarusDir)/tools/debugserver/debugserver$(ExeExt)
15+```
1216
1317![](/wiki-images/5/53/DebugServer.png)
1418
1519Alternatively, FPC has a text mode debug server which can also be used; see documentation.
1620
1721To use it, add `dbugintf` to the uses clause of the units you want to debug, then use [[doc:fcl/dbugintf/senddebug.html|SendDebug]] to send messages to the debug server.
1822
1923For more details, please see the documentation.
2024
2125**--DD 05:38, 3 October 2015 (CEST): Does not seem to be thread safe!**
2226
2327## See also
2428
2529- [[doc:fcl/eventlog/teventlog.html|TEventLog documentation]] Built in support for logging in FPC/Lazarus
2630- [[LazLogger]]
2731- [[MultiLog]]
2832- [[log4delphi]]
2933
3034---
3135*From the Free Pascal wiki, page "DebugServer", as it stood on 2015-10-03 after a change by DD, out of the wiki's dump of 2024-05-26. 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](/wiki-contact).*
3236Category: Components
3337Category: Debugging
3438Category: FPC
3539Category: Logging

Back to history