Sign in Join
FPDoc Onlineexperiment

debugservers topic

In unit DbugIntf

Writing a debug server.

Declaration

pascal
debugservers

Description

Writing a debug server is relatively easy. It should instantiate a TSimpleIPCServer class from the SimpleIPC unit, and use the DebugServerID as ServerID identification. This constant, as well as the record containing the message which is sent between client and server is defined in the msgintf unit.

The dbugintf unit relies on the SimpleIPC mechanism to communicate with the debug server, hence it works on all platforms that have a functional version of that unit. It also uses TProcess to start the debug server if needed, so the process unit should also be functional.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.