This file is indexed.

/usr/share/doc/lire/dev-manual/ch18s03.html is in lire-devel-doc 2:2.1.1-2.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Using the Perl debugger on Lire code</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Lire Developer's Manual"><link rel="up" href="ch18.html" title="Chapter 18. Testing and debugging"><link rel="prev" href="ch18s02.html" title="Test-installations and test-runs"><link rel="next" href="ch19.html" title="Chapter 19. Making a Release"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Using the Perl debugger on Lire code</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch18s02.html">Prev</a> </td><th width="60%" align="center">Chapter 18. Testing and debugging</th><td width="20%" align="right"> <a accesskey="n" href="ch19.html">Next</a></td></tr></table><hr></div><div class="section" title="Using the Perl debugger on Lire code"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id418352"></a>Using the Perl debugger on Lire code</h2></div></div></div><p>
          Please use the perl debugger: investing some time to learn is pays back really
          quick.  Here's a very tiny howto.
        </p><p>
          Start the debugger as e.g.

	      </p><pre class="programlisting">
perl -d `which lr_log2report` -o xml combined &lt; tmp/log &gt; /dev/null
	      </pre><p>

After starting the debugger, run "v" and "c lineno" to make sure all modules are
loaded.  Once that's done, you can fast-forward to a relevant routine using
e.g.  "c Lire::DlfAnalysers::ReferrerCategoriser::categorise".  Now you can
inspect variables and evaluate expressions by running e.g.

	      </p><pre class="programlisting">
 DB&lt;12&gt; x $parsed_url-&gt;{'query'}
	      </pre><p>

Also, be sure to try the commands "s" and "r".  Just these 4 command very likely
are enough to get your job done.  (The "y" command might be useful too, though).
See perldebug(1) and perldebtut(1) for more information.
        </p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch18s02.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch18.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch19.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Test-installations and test-runs </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 19. Making a Release</td></tr></table></div></body></html>