Index: phpdoc/hu/appendices/debugger.xml diff -u phpdoc/hu/appendices/debugger.xml:1.1 phpdoc/hu/appendices/debugger.xml:1.2 --- phpdoc/hu/appendices/debugger.xml:1.1 Wed Aug 9 07:57:59 2000 +++ phpdoc/hu/appendices/debugger.xml Sun Oct 29 08:05:48 2000 @@ -2,83 +2,91 @@ A PHP Debugger - Using the Debugger + A debugger használata - PHP's internal debugger is useful for tracking down evasive bugs. - The debugger works by connecting to a TCP port - for every time PHP starts up. All error messages from that - request will be sent to this TCP connection. This information is - intended for "debugging server" that can run inside an - IDE or programmable editor (such as Emacs). + A PHP belső debuggere hasznos rejtőzködő hibák keresésekor. + Minden alkalommal, amikor elindul a debugger egy + TCP portra csatlakozik. Ettől kezdve + minden hibaüzenet erre a TCP csatlakozásra kerül elküldésre. + Ezt az információt egy debug szervernek szánja, ami egy + IDE-ben, vagy egy programozható szerkesztőben + fut (mint például az Emacs). - How to set up the debugger: + A következőképpen kell beállítani a debuggert: - Set up a TCP port for the debugger in the configuration file (debugger.port) and enable it - (debugger.enabled). + Meg kell adni a TCP portot a debugger számára + a konfigurációs fájlban a + debugger.port beállítással, + és engedélyezni kell a + debugger.enabled beállítással. - Set up a TCP listener on that port somewhere (for example - socket -l -s 1400 on UNIX). + Egy TCP port figyelőt kell irányítani a + megfelelő port számra (például socket -l -s 1400 + UNIX rendszeren). - In your code, run - "debugger_on(host)", where - host is the IP number or name of the - host running the TCP listener. + A kódba írd be: debugger_on(host), ahol + host a TCP figyelő + neve vagy IP címe. - Now, all warnings, notices etc. will show up on that listener - socket, even if you them turned off with - error_reporting. + Ettől kezdve minden figyelmeztetés, hiba, stb. a figyelőnél + meg fog jelenni, akkor is, ha kikapcsolod + az error_reporting-al. + + + A debugger kódja nem eddig került át a PHP 4-be, ezért jelenleg + csak a PHP 3 támogatja ezt a szolgáltatást. + + - Debugger Protocol + A debugger protokoll - The debugger protocol is line-based. Each line has a - type, and several lines compose a - message. Each message starts with a line of - the type start and terminates with a line of - the type end. PHP may send lines for different - messages simultaneously. + A debugger protokollja sor-alapú. Ez azt jelenti, + hogy minden sornak van egy típus eleme, és + több sor alkot egy üzenetet. Minden + üzenet a start típussal kezdődik, és az + end típussal végződik. A PHP esetleg + párhuzamosan küldhet sorokat más-más üzenetekkel. - A line has this format: + Egy sor a következő formát mutatja: -date time +dátum idő host(pid) -type: -message-data +típus: +üzenet adata - date + dátum - Date in ISO 8601 format - (yyyy-mm-dd) + ISO 8601 formátumú dátum + (éééé-hh-nn) - time + idő - Time including microseconds: - hh:mm:uuuuuu + Időpont, beleértve a mikroszekundumokat is: + óó:pp:uuuuuu @@ -86,8 +94,7 @@ host - DNS name or IP address of the host where the script error was - generated. + Domain név vagy IP cím, ahonan a szkript hiba érkezett. @@ -95,76 +102,73 @@ pid - PID (process id) on host of the - process with the PHP script that generated this error. + PID (process id). A host-on futó + process azonosítója, ami a PHP szkriptet futtatja. - type + típus - Type of line. Tells the receiving program about what it - should treat the following data as: + A sor típusa. Megadja a fogadó programnak, hogy hogyan kell kezelni + az utána következő adatot.

- Debugger Line Types + Debugger sor típusok - Name - Meaning + Név + Jelentés start - Tells the receiving program that a debugger message - starts here. The contents of - data will be the type of error - message, listed below. + Közli, hogy egy üzenet itt kezdődik el. Az + adat tartalma a hiba + típusa, ami "Debugger hiba típusok" táblázatban + találhatóak egyike. message - The PHP error message. + Egy PHP hibaüzenet. location - File name and line number where the error occured. The - first location line will always - contain the top-level location. - data will contain - file:line. - There will always be a location line - after message and after every - function. + Fájlnév és sorszám, ahol a hiba felmerült. Az első + location sor mindig a legfelső + szintű fájlt mutatja. + Az adat tartalma + fájlnév:sorszám + lesz. Mindig található egy location sor + a message és function sorok után. + frames - frames 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 occured at top-level). + A frame-ek száma a következő stack kiírásban. Ha négy + frame van, az azt jelenti, hogy négy mélységben hívott + függvényben volt hiba. Ha nincs "frames" rész, + akkor az érték 0 (a hiba a legfelső szinten történt). function - Name of function where the error occured. Will be - repeated once for every level in the function call - stack. + A függvény neve, ahol a hiba kelezkezett. Minden + frame-nél megjelenik az ahhoz tartozó függvénynévvel. end - Tells the receiving program that a debugger message ends - here. + Közli a debugger programmal, hogy az üzenet végetért. @@ -174,20 +178,20 @@ - data + adat - Line data. + A sorhoz tartozó adat.
- Debugger Error Types + Debugger hiba típusok Debugger - PHP Internal + PHP hiba @@ -217,14 +221,14 @@ unknown - (any other) + (bármi más)
- Example Debugger Message + Pálda debugger üzenetre 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