DebugServer: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: DebugServer
| Old | New | Line | |
|---|---|---|---|
| 1 | + | ## Overview | |
| 2 | + | ||
| 3 | + | Official documentation: [[doc:fcl/dbugintf]] | |
| 4 | + | ||
| 5 | + | You can send debug output from your program to a debug server application. A debug server application is included with Lazarus; you can compile | |
| 6 | + | ||
| 7 | + | `$(LazarusDir)/tools/debugserver/debugserver.lpi` | |
| 8 | + | ||
| 9 | + | and set it up as an external tool: | |
| 10 | + | ||
| 11 | + | `$(LazarusDir)/tools/debugserver/debugserver$(ExeExt)` | |
| 12 | + | ||
| 13 | + | <figure> | |
| 14 | + | <img src="DebugServer.png" title="DebugServer.png" /> | |
| 15 | + | <figcaption>DebugServer.png</figcaption> | |
| 16 | + | </figure> | |
| 17 | + | ||
| 18 | + | Alternatively, FPC has a text mode debug server which can also be used; see documentation. | |
| 19 | + | ||
| 20 | + | To 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. | |
| 21 | + | ||
| 22 | + | For more details, please see the documentation. | |
| 23 | + | ||
| 24 | + | **--DD 05:38, 3 October 2015 (CEST): Does not seem to be thread safe!** | |
| 25 | + | ||
| 26 | + | ## See also | |
| 27 | + | ||
| 28 | + | - [[doc:fcl/eventlog/teventlog.html|TEventLog documentation]] Built in support for logging in FPC/Lazarus | |
| 29 | + | - [[LazLogger]] | |
| 30 | + | - [[MultiLog]] | |
| 31 | + | - [[log4delphi]] | |
| 32 | + | ||
| 33 | + | --- | |
| 34 | + | *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).* | |
| 35 | + | Category: Components | |
| 36 | + | Category: Debugging | |
| 37 | + | Category: FPC | |
| 38 | + | Category: Logging |
