tronic          Thu Nov 22 17:28:24 2001 EDT

  Added files:                 
    /phpdoc/ru/appendices       debugger.xml 
  Log:
  Translation done.
  

Index: phpdoc/ru/appendices/debugger.xml
+++ phpdoc/ru/appendices/debugger.xml
<?xml version="1.0" encoding="windows-1251"?>
<!-- $Revision: 1.1 $ -->
 <appendix id="debugger">
  <title>�������� PHP</title>

  <sect1 id="debugger-about">
   <title>�� ���������</title>
   <simpara>
    PHP 3 �������� ��������� �������� ���������.
   </simpara>
   <simpara>
    PHP 4 ���� �� ����� ��������� ����������� ��������.
   </simpara>
  </sect1>

  <sect1 id="debugger-using">
   <title>������������� ���������</title>

   <para>
    ���������� �������� PHP 3 ������� ��� ������������
    �������������� ������. �������� �������� ����� ������������
    ���������� �� ����� <acronym>TCP</acronym> ������ ���
    ��� ������� PHP 3. ��� ��������� �� ������� ����������
    �� �������������� ����������. ��� ���������� ���������������
    ��� ����������� �������, ������� ����� ����������� ������
    <acronym>IDE</acronym> ��� ���������������� ���������
    (������, ��� Emacs).
   </para>
   <para>
    ��� ��������� ��������:
    <orderedlist>
     <listitem>
      <simpara> 
       ���������� �������� ����� TCP ��������� � <link
       linkend="configuration.file">���������������� �����</link> (<link
       linkend="ini.debugger.port">debugger.port</link>) � ���������
       ��� ������������� (<link 
linkend="ini.debugger.enabled">debugger.enabled</link>).
      </simpara>
     </listitem>
     <listitem>
      <simpara> 
       ��������� �� ���� ���� TCP listener (��������, 
       <command>socket -l -s 1400</command> � UNIX).
      </simpara>
     </listitem>
     <listitem>
      <simpara> 
       �������� � ��� ������
       "debugger_on(<replaceable>host</replaceable>)", ���
       <replaceable>host</replaceable> - ����� IP ���
       ��� �����, ������������ <acronym>TCP</acronym> listener.
      </simpara>
     </listitem>
    </orderedlist>
    ������ ��� ��������������, ��������� � �.�. ����� ����������
    ���������� TCP listener, <emphasis>���� ���� �� ��������� ���
    ����������� � ������������� <function>error_reporting</function></emphasis>.  
   </para>
  </sect1>

  <sect1 id="debugger-protocol">
   <title>�������� ���������</title>
   <para>
    �������� ��������� PHP 3 ������� �� ��������� ����������.
    ������ ������ ����� ������������ <emphasis>���</emphasis>,
    � ��������� ����� ��������� <emphasis>���������</emphasis>.
    ������ ��������� ���������� �� ������, ������� ��� <literal>start</literal>
    � ������������� �������, ������� ��� <literal>end</literal>.
    PHP 3 ����� ������������ �������� ������ ��� ��������� ���������.
   </para>
   <para>
    ������ ����� ����� ������:
    <informalexample>
     <literallayout>
<replaceable>����</replaceable> <replaceable>�����</replaceable>
<replaceable>����</replaceable>(<replaceable>pid</replaceable>)
<replaceable>���</replaceable>:
<replaceable>���������</replaceable>
     </literallayout>
    </informalexample>
    <variablelist>
     <varlistentry>
      <term><replaceable>����</replaceable></term>
      <listitem>
       <simpara>
        ���� � ������� ISO 8601
        
(<replaceable>����</replaceable>-<replaceable>��</replaceable>-<replaceable>��</replaceable>)
       </simpara>
      </listitem>
     </varlistentry>
     <varlistentry>
      <term><replaceable>�����</replaceable></term>
      <listitem>
       <simpara>����� (� ��������� �� �����������):
        
<replaceable>��</replaceable>:<replaceable>��</replaceable>:<replaceable>������</replaceable>
       </simpara>
      </listitem>
     </varlistentry>
     <varlistentry>
      <term><replaceable>����</replaceable></term>
      <listitem>
       <simpara>
        ��� DNS ��� ����� IP �����, ��� ��������� ������ �� �����
        ���������� �������.
       </simpara>
      </listitem>
     </varlistentry>
     <varlistentry>
      <term><replaceable>pid</replaceable></term>
      <listitem>
       <simpara>
        PID (������������� ��������) �� <replaceable>�����</replaceable>,
        ��� PHP 3 ������������ ������ �� ����� ���������� �������.
       </simpara>
      </listitem>
     </varlistentry>
     <varlistentry>
      <term><replaceable>���</replaceable></term>
      <listitem>
       <para>
        ��� ������. �������� ����������� ���������, ��� �������
        ������������ ����������� ������:
        <table>
         <title>���� ����� ���������</title>
         <tgroup cols="2">
          <thead>
           <row>
            <entry>���</entry>
            <entry>��������</entry>
           </row>
          </thead>
          <tbody>
           <row>
            <entry><literal>start</literal></entry> 
            <entry>
             �������� ����������� ��������� � ������ ���������
             ���������. ���������� <replaceable>������</replaceable>
             ����� ����� ��� ��������� �� ������, ����������� ����.
            </entry>
           </row>
           <row>
            <entry><literal>message</literal></entry>
            <entry>��������� �� ������ PHP 3.</entry>
           </row>
           <row>
            <entry><literal>location</literal></entry>
            <entry>
             ��� ����� � ����� ������, ��� ��������� ������. ������
             ������ <literal>location</literal> ������ ����� ���������
             �� ������� ������� ����������� ����������.
             <replaceable>data</replaceable> ����� ���������
             
<literal><replaceable>����</replaceable>:<replaceable>������</replaceable></literal>.
             ����� <literal>message</literal> � ����� ������ 
<literal>function</literal>
             ������ ����� ������ <literal>location</literal>.
            </entry>
           </row>
           <row>
            <entry>
             <literal>frames</literal></entry> <entry>���������� ������
             � ����������� ����� �����. ���� ����������� ������ �����,
             ������� ������� ���������� � ����������� �������� �
             �������� �������� �����������. ���� ������ "frames"
             �����������, ������� ����������� ������ ����������� �� �������
             (������ ��������� �� ������� ������ ����������� ����������).
            </entry>
           </row>
           <row>
            <entry>
             <literal>function</literal></entry> 
            <entry>
             ��� �������, � ������� ��������� ������. �����
             ����������� ������ ������� � ������ ������
             ����������� � ����� ������ �������.
            </entry>
           </row>
           <row>
            <entry><literal>end</literal></entry> 
            <entry>
             �������� ����������� ���������, ��� ��������� ���������
             ���������.
            </entry>
           </row>
          </tbody>
         </tgroup>
        </table>
       </para>
      </listitem>
     </varlistentry>
     <varlistentry>
      <term><replaceable>data</replaceable></term>
      <listitem>
       <simpara>��������� ������.</simpara>
      </listitem>
     </varlistentry>
    </variablelist>

    <table>
     <title>���� ������ ���������</title>
     <tgroup cols="2">
      <thead>
       <row>
        <entry>� ���������</entry>
        <entry>� PHP 3</entry>
       </row>
      </thead>
      <tbody>
       <row>
        <entry><errortype>warning</errortype></entry>
        <entry><errortype>E_WARNING</errortype></entry>
       </row>
       <row>
        <entry><errortype>error</errortype></entry>
        <entry><errortype>E_ERROR</errortype></entry>
       </row>
       <row>
        <entry><errortype>parse</errortype></entry>
        <entry><errortype>E_PARSE</errortype></entry>
       </row>
       <row>
        <entry><errortype>notice</errortype></entry>
        <entry><errortype>E_NOTICE</errortype></entry>
       </row>
       <row>
        <entry><errortype>core-error</errortype></entry>
        <entry><errortype>E_CORE_ERROR</errortype></entry>
       </row>
       <row>
        <entry><errortype>core-warning</errortype></entry>
        <entry><errortype>E_CORE_WARNING</errortype></entry>
       </row>
       <row>
        <entry><errortype>unknown</errortype></entry>
        <entry>(any other)</entry>
       </row>
      </tbody>
     </tgroup>
    </table>
    
    <example>
     <title>������ ��������� ���������</title>
     <literallayout>
1998-04-05 23:27:400966 lucifer.guardian.no(20481) start: notice
1998-04-05 23:27:400966 lucifer.guardian.no(20481) message: Uninitialized variable
1998-04-05 23:27:400966 lucifer.guardian.no(20481) location: (&null;):7
1998-04-05 23:27:400966 lucifer.guardian.no(20481) frames: 1
1998-04-05 23:27:400966 lucifer.guardian.no(20481) function: display
1998-04-05 23:27:400966 lucifer.guardian.no(20481) location: 
/home/ssb/public_html/test.php3:10
1998-04-05 23:27:400966 lucifer.guardian.no(20481) end: notice
     </literallayout>
    </example>
   </para>
  </sect1>

 </appendix>

<!-- 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
sgml-parent-document:nil
sgml-default-dtd-file:"../../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
-->

Reply via email to