<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.apd-set-session-trace" xmlns="http://docbook.org/ns/docbook">
 <refnamediv>
  <refname>apd_set_session_trace</refname>
  <refpurpose>Starts the session debugging</refpurpose>
 </refnamediv>
 <refsect1 role="description">
  &reftitle.description;
  <methodsynopsis>
   <type>void</type><methodname>apd_set_session_trace</methodname>
   <methodparam><type>int</type><parameter>debug_level</parameter></methodparam>
   <methodparam choice="opt"><type>string</type><parameter>dump_directory</parameter></methodparam>
  </methodsynopsis>
  <para>
   Starts debugging to <filename>apd_dump_{process_id}</filename> in the
   dump directory.
  </para>
 </refsect1>

 <refsect1 role="parameters">
  &reftitle.parameters;
  <para>
   <variablelist>
    &apd.debug-level.description;
    <varlistentry>
     <term><parameter>dump_directory</parameter></term>
     <listitem>
      <para>
       The directory in which the profile dump file is written. If not set, 
       the <literal>apd.dumpdir</literal> setting from the &php.ini; file is used.
      </para>
     </listitem>
    </varlistentry>
   </variablelist>
  </para>
 </refsect1>

 <refsect1 role="returnvalues">
  &reftitle.returnvalues;
  <para>
   &return.void;
  </para>
 </refsect1>
 
 <refsect1 role="examples">
  &reftitle.examples;
  <para>
   <example>
    <title><function>apd_set_session_trace</function> example</title>
    <programlisting role="php">
<![CDATA[
<?php
apd_set_session_trace(99);
?>
]]>
    </programlisting>
   </example>
  </para> 
 </refsect1>

</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->