lazarus/components/fpdebug/app/fpdserver
2022-01-10 14:08:37 +01:00
..
debugconsoleserver.pas
debuginoutputprocessor.pas Debugger: New package LazDebuggerIntf / Replace TWatchValue with TWatchValueIntf 2022-01-10 14:08:37 +01:00
debugscriptserver.pas
debugtcpserver.pas Debugger: New package LazDebuggerIntf / Replace TWatchValue with TWatchValueIntf 2022-01-10 14:08:37 +01:00
debugthread.pas Debugger: New package LazDebuggerIntf / Replace TWatchValue with TWatchValueIntf 2022-01-10 14:08:37 +01:00
debugthreadcommand.pas Debugger: New package LazDebuggerIntf / Replace TWatchValue with TWatchValueIntf 2022-01-10 14:08:37 +01:00
fpdserver.lpi FpDebug/LazDebuggerFp: Refactor logging, use LazLogger for all logging. 2019-06-19 15:26:22 +00:00
fpdserver.lpr FpDebugServer: fix compilation / support multiple addresses per breakpoint 2019-01-09 20:50:23 +00:00
Info.plist
readme.txt

FPDebug-Server

The FPDebug-server contains a single fpdebug-thread to be able to debug one application at a time.

Multiple listeners can attach to this debug-thread so that they will receive messages from the fpdebug-thread about
the application being debugged.
The listeners can also send commands to the debug-thread, all listeners will receive information about all comands.

By default there are two listeners, one to communicate with the console. That way the debugger can be controlled from
the console. The other listener is setting up a tcp-server listening on port 9159. It's possible to connect to this
port using telnet to control the debugging.

In- and output are in a a json-format, but it is possible to register multiple formats.

The FPDebug-server could be used as a stand-alone debugger, controlled using the console. Or it could be used by other
front-ends using the tcp-listener. Multiple connections can be used to monitor what is happening.

The goal is to add a Lazarus as a front end. It can be used for remote-debugging, and it can be used to avoid the
necessity to sign the Lazarus-executable to be able to debug on OS/X. (Only the FPDebug-server has to be signed)

Joost van der Sluis, may 2015.