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