Unit 'dbugintf' Package
[Overview][Resource strings][Types][Procedures and functions][Variables][Index] [#fcl]

SendMethodEnter

Send method enter message.

Declaration

Source position: dbugintf.pp line 42

function SendMethodEnter(

  const MethodName: string

):Boolean;

Arguments

MethodName

  

Name of the entered method.

Description

SendMethodEnter sends a "Entering MethodName" message to the debug server. After that it increases the message indentation (currently 2 characters). By sending a corresponding SendMethodExit, the indentation of messages can be decreased again.

By using the SendMethodEnter and SendMethodExit methods at the beginning and end of a procedure/method, it is possible to visually trace program execution.

Errors

None.

See also

SendDebug

  

Send a message to the debug server.

SendMethodExit

  

Send method exit message.

SendSeparator

  

Send a separator message.


Documentation generated on: Jul 24 2023