php-doc-en/reference/mysqli/functions/mysqli-debug.xml

79 lines
2.2 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.8 $ -->
<!-- EN-Revision: 1.7 Maintainer: baoengb Status: ready -->
<refentry id="function.mysqli-debug">
<refnamediv>
<refname>mysqli_debug</refname>
<refpurpose>Realiza operaciones de rastreo de errores</refpurpose>
</refnamediv>
<refsect1>
<title>Descripci&oacute;n</title>
<methodsynopsis>
<type>void</type><methodname>mysqli_debug</methodname>
<methodparam><type>cadena</type><parameter>acci&oacute;n</parameter></methodparam>
</methodsynopsis>
<para>
La funci&oacute;n <function>mysqli_debug</function> es usada para realizar
operaciones de rastreo y eliminaci&oacute;n de errores utilizando la libreria
"Fred Fish". El par&aacute;metro <parameter>acci&oacute;n</parameter>
es una cadena que representa las operaciones de rastreo de errores a realizar.
</para>
<note>
<para>
Para usar la funci&oacute; <function>mysqli_debug</function> se debe compilar
el cliente de MySQL con soporte para rastreo de errores "debugging".
</para>
</note>
</refsect1>
<refsect1>
<title>Valores regresados</title>
<para><function>mysqli_debug</function> no regresa ning&uacute;n valor.</para>
</refsect1>
<refsect1>
<title>Vea tambi&eacute;n</title>
<para>
<function>mysqli_dump_debug_info</function>,
<function>mysqli_report</function>
</para>
</refsect1>
<refsect1>
<title>Ejemplo</title>
<para>
<example>
<title>Generar un archivo de rastreo</title>
<programlisting role="php">
<![CDATA[
<?php
/* Create a trace file in '/tmp/client.trace' on the local (client) machine: */
mysqli_debug("d:t:0,/tmp/client.trace");
?>
]]>
</programlisting>
</example>
</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
-->