lazarus/components/fpdebug/app/fpdserver
2019-09-29 21:43:49 +00:00
..
debugconsoleserver.pas
debuginoutputprocessor.pas FpDebugServer: fix compilation / support multiple addresses per breakpoint 2019-01-09 20:50:23 +00:00
debugscriptserver.pas FpDebugServer: Fixed AV when a script contains an invalid command 2015-05-26 15:36:23 +00:00
debugtcpserver.pas FpDebugServer: fix compilation / support multiple addresses per breakpoint 2019-01-09 20:50:23 +00:00
debugthread.pas FpDebug/LazDebuggerFp: Refactor logging, use LazLogger for all logging. 2019-06-19 15:26:22 +00:00
debugthreadcommand.pas FpDebug: Remove LastMember for structures (part of circle ref with StructureValue) 2019-09-29 21:43:49 +00: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.