Re: phpdoc-zh /appendices debugger.xml
| From: | Gregory Song | Date: | Tue, 30 Jul 2002 04:20:33 +0000 |
| Subject: | Re: phpdoc-zh /appendices debugger.xml | ||
| References: | 1 | Groups: | php.doc.zh |
| Request: | Send a blank email to doc-zh+get-227@lists.php.net to get a copy of this message | ||
Good Job! ^_^
"Xiaoyu Huang" <y007pig@hotmail.com> wrote in message
news:cvsclass0071028001403@cvsserver...
> class007 Mon Jul 29 23:56:43 2002 EDT
>
> Modified files:
> /phpdoc-zh/appendices debugger.xml
> Log:
> Íê³Éºº»¯£¬´ýÐÞÕý
>
>
> Index: phpdoc-zh/appendices/debugger.xml
> diff -u phpdoc-zh/appendices/debugger.xml:1.1
phpdoc-zh/appendices/debugger.xml:1.2
> --- phpdoc-zh/appendices/debugger.xml:1.1 Mon Jul 29 09:26:28 2002
> +++ phpdoc-zh/appendices/debugger.xml Mon Jul 29 23:56:42 2002
> @@ -1,5 +1,5 @@
> <?xml version="1.0" encoding="gb2312"?>
> -<!-- $Revision: 1.1 $ -->
> +<!-- $Revision: 1.2 $ -->
> <!-- $AUTHOR$ -->
> <!-- EN-Revision: 1.22 Maintainer: class007 Status: working -->
> <appendix id="debugger">
> @@ -54,17 +54,15 @@
> </sect1>
>
> <sect1 id="debugger-protocol">
> - <title>Debugger Protocol</title>
> + <title>³ý´íÆ÷ÐÒé</title>
> <para>
> - The PHP 3 debugger protocol is line-based. Each line has a
> - <emphasis>type</emphasis>, and several lines compose a
> - <emphasis>message</emphasis>. Each message starts with a line of
> - the type <literal>start</literal> and terminates with a line of
> - the type <literal>end</literal>. PHP 3 may send lines for different
> - messages simultaneously.
> + PHP 3 ³ý´íÆ÷ÐÒéÒÔÐÐΪµ¥Î»¡£Ã¿Ò»ÐÐÓÐÒ»¸ö
> + <emphasis>ÀàÐÍ(type)</emphasis>£¬Ä³¼¸ÐÐ×é³ÉÒ»¸ö
> +
> <emphasis>ÏûÏ¢(message)</emphasis>¡£Ã¿Ò»¸öÏûÏ¢ÆðʼÓÚ°üº¬ÀàÐÍ
<literal>start</literal> µÄÒ»ÐУ¬²¢ÖÕÖ¹ÓÚ°üº¬ÀàÐÍ
<literal>end</literal> µÄ
Ò»ÐС£
> + PHP 3 ¿ÉÒÔͬʱ·¢ËͲ»Í¬µÄÏûÏ¢ÐС£
> </para>
> <para>
> - A line has this format:
> + ÐеĸñʽÈçÏ£º
> <informalexample>
> <literallayout>
> <replaceable>date</replaceable> <replaceable>time</replaceable>
> @@ -78,7 +76,7 @@
> <term><replaceable>date</replaceable></term>
> <listitem>
> <simpara>
> - Date in ISO 8601 format
> + date ʹÓà ISO 8601 ¸ñʽ£º
>
(<replaceable>yyyy</replaceable>-<replaceable>mm</replaceable>-<replaceable>
dd</replaceable>)
> </simpara>
> </listitem>
> @@ -86,7 +84,7 @@
> <varlistentry>
> <term><replaceable>time</replaceable></term>
> <listitem>
> - <simpara>Time including microseconds:
> + <simpara>Time ¾«È·µ½ºÁÃ룺
>
<replaceable>hh</replaceable>:<replaceable>mm</replaceable>:<replaceable>uuu
uuu</replaceable>
> </simpara>
> </listitem>
> @@ -95,8 +93,7 @@
> <term><replaceable>host</replaceable></term>
> <listitem>
> <simpara>
> - DNS name or IP address of the host where the script error was
> - generated.
> + ²úÉú´íÎóµÄ PHP ½Å±¾ËùÔÚÖ÷»úµÄ DNS Ãû»ò IP µØÖ·¡£
> </simpara>
> </listitem>
> </varlistentry>
> @@ -104,8 +101,7 @@
> <term><replaceable>pid</replaceable></term>
> <listitem>
> <simpara>
> - PID (process id) on <replaceable>host</replaceable> of the
> - process with the PHP 3 script that generated this error.
> + ²úÉú´íÎóµÄ PHP ½Å±¾ÔÚ <replaceable>host</replaceable> ÖеÄPID
> £¨½ø³Ì
id£©¡£
> </simpara>
> </listitem>
> </varlistentry>
> @@ -113,67 +109,60 @@
> <term><replaceable>type</replaceable></term>
> <listitem>
> <para>
> - Type of line. Tells the receiving program about what it
> - should treat the following data as:
> +
> ÐеÄÀàÐÍ¡£Ëü¸æËß½ÓÊÕÐÅÏ¢µÄ³ÌÐòÈçºÎ´¦ÀíÏÂÃæµÄÊý¾Ý£º
> <table>
> - <title>Debugger Line Types</title>
> + <title>³ý´íÆ÷ÐÐÀàÐÍ</title>
> <tgroup cols="2">
> <thead>
> <row>
> - <entry>Name</entry>
> - <entry>Meaning</entry>
> + <entry>Ãû³Æ</entry>
> + <entry>º¬Òå</entry>
> </row>
> </thead>
> <tbody>
> <row>
> <entry><literal>start</literal></entry>
> <entry>
> - Tells the receiving program that a debugger message
> - starts here. The contents of
> - <replaceable>data</replaceable> will be the type of error
> - message, listed below.
> + ¸æËß½ÓÊյijÌÐò£¬³ý´íÐÅÏ¢ÓÉ´Ë¿ªÊ¼¡£
> + <replaceable>data</replaceable>
> µÄÄÚÈݽ«»áÊÇ´íÎóÏûÏ¢µÄÀàÐÍ£¬ÔÚ±¾Ò³
ÃæÏ·½Áгö¡£
> </entry>
> </row>
> <row>
> <entry><literal>message</literal></entry>
> - <entry>The PHP 3 error message.</entry>
> + <entry>PHP 3 ´íÎóÏûÏ¢¡£</entry>
> </row>
> <row>
> <entry><literal>location</literal></entry>
> <entry>
> - File name and line number where the error occurred. The
> - first <literal>location</literal> line will always
> - contain the top-level location.
> - <replaceable>data</replaceable> will contain
> + ·¢Éú´íÎóµÄÎļþÃûºÍÐкš£
> + <literal>location</literal> µÄµÚÒ»ÐÐ×ÜÊǰüº¬
> + ¶¥¼¶(top-level)µØÖ·¡£
> + <replaceable>data</replaceable> °üº¬
>
<literal><replaceable>file</replaceable>:<replaceable>line</replaceable></li
teral>.
> - There will always be a <literal>location</literal> line
> - after <literal>message</literal> and after every
> - <literal>function</literal>.
> + ÔÚ <literal>message</literal> ºÍÿһ¸ö
> <literal>function</literal>
Ö®ºó×ÜÓÐÒ»ÐÐ <literal>location</literal> ÐС£
> </entry>
> </row>
> <row>
> <entry>
> - <literal>frames</literal></entry> <entry>Number of frames
> + <literal>frames</literal></entry>
> + <entry>Number of frames
> in the following stack dump. If there are four frames,
> expect information about four levels of called functions.
> If no "frames" line is given, the depth should be assumed
> - to be 0 (the error occurred at top-level).
> + to be 0 (the error occurred at top-level).(TODO)
> </entry>
> </row>
> <row>
> <entry>
> <literal>function</literal></entry>
> <entry>
> - Name of function where the error occurred. Will be
> - repeated once for every level in the function call
> - stack.
> +
> ·¢Éú´íÎóµÄº¯Êý¡£ÔÚµ÷Óú¯Êý¶ÑÕ»µÄÿ¼¶Ö»Öظ´Ò»´Î¡£
> </entry>
> </row>
> <row>
> <entry><literal>end</literal></entry>
> <entry>
> - Tells the receiving program that a debugger message ends
> - here.
> + ¸æËß½ÓÊյijÌÐò£¬³ý´íÐÅÏ¢µ½´Ë½áÊø¡£
> </entry>
> </row>
> </tbody>
> @@ -185,18 +174,18 @@
> <varlistentry>
> <term><replaceable>data</replaceable></term>
> <listitem>
> - <simpara>Line data.</simpara>
> + <simpara>ÿÐеÄÊý¾Ý¡£</simpara>
> </listitem>
> </varlistentry>
> </variablelist>
>
> <table>
> - <title>Debugger Error Types</title>
> + <title>³ý´íÆ÷´íÎóÀàÐÍ</title>
> <tgroup cols="2">
> <thead>
> <row>
> - <entry>Debugger</entry>
> - <entry>PHP 3 Internal</entry>
> + <entry>³ý´íÆ÷</entry>
> + <entry>PHP 3 ÄÚ²¿</entry>
> </row>
> </thead>
> <tbody>
> @@ -226,14 +215,14 @@
> </row>
> <row>
> <entry><errortype>unknown</errortype></entry>
> - <entry>(any other)</entry>
> + <entry>£¨ÆäËüÈκδíÎó£©</entry>
> </row>
> </tbody>
> </tgroup>
> </table>
>
> <example>
> - <title>Example Debugger Message</title>
> + <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
>
>