2003-03-15 23:01:35 +00:00
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
2004-03-16 15:26:37 +00:00
|
|
|
<!-- $Revision: 1.8 $ -->
|
|
|
|
<!-- EN-Revision: 1.7 Maintainer: baoengb Status: ready -->
|
2003-03-15 23:01:35 +00:00
|
|
|
<refentry id="function.mysqli-debug">
|
|
|
|
<refnamediv>
|
|
|
|
<refname>mysqli_debug</refname>
|
2004-03-16 15:26:37 +00:00
|
|
|
<refpurpose>Realiza operaciones de rastreo de errores</refpurpose>
|
2003-03-15 23:01:35 +00:00
|
|
|
</refnamediv>
|
|
|
|
<refsect1>
|
2004-03-16 15:26:37 +00:00
|
|
|
<title>Descripción</title>
|
2003-03-15 23:01:35 +00:00
|
|
|
<methodsynopsis>
|
|
|
|
<type>void</type><methodname>mysqli_debug</methodname>
|
2004-03-16 15:26:37 +00:00
|
|
|
<methodparam><type>cadena</type><parameter>acción</parameter></methodparam>
|
2003-03-15 23:01:35 +00:00
|
|
|
</methodsynopsis>
|
|
|
|
<para>
|
2004-03-16 15:26:37 +00:00
|
|
|
La función <function>mysqli_debug</function> es usada para realizar
|
|
|
|
operaciones de rastreo y eliminación de errores utilizando la libreria
|
|
|
|
"Fred Fish". El parámetro <parameter>acción</parameter>
|
|
|
|
es una cadena que representa las operaciones de rastreo de errores a realizar.
|
2003-05-13 23:12:16 +00:00
|
|
|
</para>
|
2004-02-20 13:05:10 +00:00
|
|
|
<note>
|
|
|
|
<para>
|
2004-03-16 15:26:37 +00:00
|
|
|
Para usar la funció <function>mysqli_debug</function> se debe compilar
|
|
|
|
el cliente de MySQL con soporte para rastreo de errores "debugging".
|
2004-02-20 13:05:10 +00:00
|
|
|
</para>
|
|
|
|
</note>
|
2004-01-28 23:18:42 +00:00
|
|
|
</refsect1>
|
|
|
|
<refsect1>
|
2004-03-16 15:26:37 +00:00
|
|
|
<title>Valores regresados</title>
|
|
|
|
<para><function>mysqli_debug</function> no regresa ningún valor.</para>
|
2004-01-28 23:18:42 +00:00
|
|
|
</refsect1>
|
2004-02-20 14:45:50 +00:00
|
|
|
<refsect1>
|
2004-03-16 15:26:37 +00:00
|
|
|
<title>Vea también</title>
|
2004-02-20 14:45:50 +00:00
|
|
|
<para>
|
|
|
|
<function>mysqli_dump_debug_info</function>,
|
|
|
|
<function>mysqli_report</function>
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
2004-01-28 23:18:42 +00:00
|
|
|
<refsect1>
|
2004-03-16 15:26:37 +00:00
|
|
|
<title>Ejemplo</title>
|
2003-05-13 23:12:16 +00:00
|
|
|
<para>
|
2003-05-25 19:09:28 +00:00
|
|
|
<example>
|
2004-03-16 15:26:37 +00:00
|
|
|
<title>Generar un archivo de rastreo</title>
|
2003-05-25 19:27:11 +00:00
|
|
|
<programlisting role="php">
|
2003-05-13 23:12:16 +00:00
|
|
|
<![CDATA[
|
|
|
|
<?php
|
|
|
|
|
2004-02-20 13:05:10 +00:00
|
|
|
/* Create a trace file in '/tmp/client.trace' on the local (client) machine: */
|
|
|
|
mysqli_debug("d:t:0,/tmp/client.trace");
|
2003-05-13 23:12:16 +00:00
|
|
|
|
|
|
|
?>
|
|
|
|
]]>
|
2003-05-25 19:27:11 +00:00
|
|
|
</programlisting>
|
2003-05-13 23:12:16 +00:00
|
|
|
</example>
|
2003-03-15 23:01:35 +00:00
|
|
|
</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:"../../../../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
|
|
|
|
-->
|