[Overview][Resource strings][Types][Procedures and functions][Variables][Index] |
Send a message to the debug server.
Source position: dbugintf.pp line 33
procedure SendDebug( |
const Msg: string |
); |
Msg |
|
The message to be sent to the server. |
SendDebug sends the message Msg to the debug server as an informational message (debug level dlInformation). If no debug server is running, then an attempt will be made to start the server first.
The binary that is started is called debugserver and should be somewhere on the PATH. A sample binary which writes received messages to standard output is included in the FCL, it is called dbugsrv. This binary can be renamed to debugserver or can be started before the program is started.
Errors are silently ignored, any exception messages are stored in SendError.
|
Send debug message other than informational messages |
|
|
Format and send a debug message |
|
|
Format and send message with alternate type |