Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 1e007a96761035f261351a68e7601417 > files > 232

parrot-docs-3.6.0-2.fc15.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>Parrot  - Debugging Opcodes</title>
        <link rel="stylesheet" type="text/css"
            href="../../../resources/parrot.css"
            media="all">
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    </head>
    <body>
        <div id="wrapper">
            <div id="header">

                <a href="http://www.parrot.org">
                <img border=0 src="../../../resources/parrot_logo.png" id="logo" alt="parrot">
                </a>
            </div> <!-- "header" -->
            <div id="divider"></div>
            <div id="mainbody">
                <div id="breadcrumb">
                    <a href="../../../html/index.html">Home</a> &raquo; <a href="../../../html/ops.html">Opcodes</a> &raquo; Debugging Opcodes
                </div>

<h1><a name="NAME"
>NAME</a></h1>

<p>debug.ops &#45; Debugging Opcodes</p>

<h1><a name="DESCRIPTION"
>DESCRIPTION</a></h1>

<p>Parrot debugger</p>

<h1><a name="HISTORY"
>HISTORY</a></h1>

<p>Initial version by Daniel Grunblatt on 2002.5.19</p>

<h2><a name="Parrot_debug_operations"
>Parrot debug operations</a></h2>

<dl>
<dt><a name="debug_init()"
><b>debug_init</b>()</a></dt>
Init the Parrot debugger,
must be called before any other debug op.
<dt><a name="debug_load(inconst_STR)"
><b>debug_load</b>(inconst STR)</a></dt>
Load a Parrot source file for the current program.
<dt><a name="debug_break()"
><b>debug_break</b>()</a></dt>
Break execution and drop into the debugger.
If we are already into the debugger and is the first time we are called set a breakpoint.When you re run/continue the program begin debugged it will pay no attention to the debug ops.
<dt><a name="debug_print()"
><b>debug_print</b>()</a></dt>
Print all the Parrot registers at once.
<dt><a name="backtrace()"
><b>backtrace</b>()</a></dt>
Print a backtrace.
<dt><a name="getline(out_INT)"
><b>getline</b>(out INT)</a></dt>
Get the current line number.
<dt><a name="getfile(out_STR)"
><b>getfile</b>(out STR)</a></dt>
Get the name of the current file.</dl>
            </div> <!-- "mainbody" -->
            <div id="divider"></div>
            <div id="footer">
	        Copyright &copy; 2002-2011, Parrot Foundation.
            </div>
        </div> <!-- "wrapper" -->
    </body>
</html>