Home > PHP > Function > APD > apd_set_pprof_trace()

apd_set_pprof_trace()

apd_set_pprof_trace - Starts the session debugging

Syntax

string apd_set_pprof_trace (string $dump_directory, string $fragment)

Arguments

  • dump_directory - The directory in which the profile dump file is written. If not set, the apd.dumpdirsetting from the php.inifile is used.
  • fragment

Description

Starts debugging to pprof_{process_id}in the dump directory.

Version

PHP PECL apd >= 0.2

Return value

Returns path of the destination file.