Sign in Join
FPDoc Onlineexperiment

SendMethodEnter function

In unit DbugIntf

Send method enter message.

Declaration

pascal
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

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