downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

apd_set_session> <apd_set_session_trace_socket
Last updated: Fri, 13 Nov 2009

view this page in

apd_set_session_trace

(PECL apd 0.2-0.4)

apd_set_session_traceセッションのデバッグを開始する

説明

void apd_set_session_trace ( int $debug_level [, string $dump_directory ] )

ダンプディレクトリの apd_dump_{process_id} へのデバッグを開始します。

パラメータ

debug_level

XXX_TRACE 定数の組み合わせによる整数値。

MEMORY_TRACE を用いることは推奨しません。 これは非常に低速で、またあまり正確ではないようだからです。 ASSIGNMENT_TRACE は、まだ実装されていません。

すべての機能 (TIMING, FUNCTIONS, ARGS SUMMARY (strace -c のようなもの)) のトレースを有効にするには、値 99 を指定します。

dump_directory

プロファイルのダンプファイルを書き込むディレクトリ。 指定しない場合は、php.ini の設定 apd.dumpdir を使用します。

返り値

値を返しません。

例1 apd_set_session_trace() の例

<?php
apd_set_session_trace
(99);
?>



add a note add a note User Contributed Notes
apd_set_session_trace
There are no user contributed notes for this page.

apd_set_session> <apd_set_session_trace_socket
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites