Sign in Join
FPDoc Onlineexperiment

SendMethodExit function

In unit DbugIntf

Send method exit message.

Declaration

pascal
function SendMethodExit(const MethodName: string): Boolean

Arguments

MethodName

Name of the method that is entered.

Description

SendMethodExit sends a "Exiting MethodName" message to the debug server. After that it decreases the message indentation (currently 2 characters). By sending a corresponding SendMethodEnter, the indentation of messages can be increased 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.

Note that the indentation level will not be made negative.

Errors

None.

See also

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