tronic Fri Dec 21 20:54:53 2001 EDT
Modified files:
/phpdoc/ru/appendices debugger.xml
Log:
Minor translation fixups.
Index: phpdoc/ru/appendices/debugger.xml
diff -u /dev/null phpdoc/ru/appendices/debugger.xml:1.4
--- /dev/null Fri Dec 21 20:54:53 2001
+++ phpdoc/ru/appendices/debugger.xml Fri Dec 21 20:54:53 2001
@@ -0,0 +1,277 @@
+<?xml version="1.0" encoding="windows-1251"?>
+<!-- $Revision: 1.4 $ -->
+ <appendix id="debugger">
+ <title>����������� PHP 3</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.
+ ��� ��������� �� ������� ���������� ����� �������������
+ TCP-����������. ��� ���������� ������������� ���
+ "����������� �������", ������� ����� ���� ������� �
+ <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>
+ ������ ��� ��������������, ��������� � �.�. ����� �����������
+ ������� 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>date</replaceable> <replaceable>time</replaceable>
+<replaceable>host</replaceable>(<replaceable>pid</replaceable>)
+<replaceable>type</replaceable>:
+<replaceable>message-data</replaceable>
+ </literallayout>
+ </informalexample>
+ <variablelist>
+ <varlistentry>
+ <term><replaceable>date</replaceable></term>
+ <listitem>
+ <simpara>
+ ���� � ������� ISO 8601
+
+(<replaceable>����</replaceable>-<replaceable>��</replaceable>-<replaceable>��</replaceable>)
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><replaceable>time</replaceable></term>
+ <listitem>
+ <simpara>����� � ��������� �����������:
+
+<replaceable>��</replaceable>:<replaceable>��</replaceable>:<replaceable>������</replaceable>
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><replaceable>host</replaceable></term>
+ <listitem>
+ <simpara>
+ ��� DNS ��� IP-����� ������, ��� ��������� ������ ����������
+ ������� PHP 3.
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><replaceable>pid</replaceable></term>
+ <listitem>
+ <simpara>
+ PID (������������� ��������) ������� �� ������
+ <replaceable>host</replaceable>, ��� ��������� ������ ���
+ ���������� ������� PHP 3.
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><replaceable>type</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>data</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>file</replaceable>:<replaceable>line</replaceable></literal>.
+ ����� ������ ������ <literal>function</literal> �
+ ������ <literal>message</literal> ������ �����
+ ���������� ������ <literal>location</literal>.
+ </entry>
+ </row>
+ <row>
+ <entry>
+ <literal>frames</literal></entry> <entry>���������� "frames"
+ (������) � ����������� ����� �����. ��������, ���� ������� ������
+ �����, �� ������� ������� ���������� � ������� �������
+ ���������� �������. ���� ������ "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>(����� ������)</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
+indent-tabs-mode:nil
+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
+-->