Getting into the Perl Debugger

Darryl Caldwell <[email protected]> Tue, 10 Jun 2014 17:03:08 -0700
Newsgroups gmane.comp.web.mason.user
Message-ID <CAAtJQ7iQTObGHuUcp_aaxEMZp+6UH_EmPeQ2kPATUEDp138eEQ@mail.gmail.com>
--===============4786911035518186479==
Content-Type: multipart/alternative; boundary=047d7b67676e55b50004fb842bc6

--047d7b67676e55b50004fb842bc6
Content-Type: text/plain; charset=UTF-8

Can anyone give me some pointers on getting into some Mason code into the
Perl debugger?

http://search.cpan.org/~jswartz/HTML-Mason-1.54/lib/HTML/Mason/Devel.pod#USING_THE_PERL_DEBUGGER

..describes what to do once you are in there, but does show how to get in
there initially?

I have some xml rpc calls which are handled by mason. These calls are in
*.mas files.

Doing:

  perl -d file.mas


...doesn't work, probably because the request is not set. How do I get into
the debugger? Thanks in advance for any response.

--047d7b67676e55b50004fb842bc6
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Can anyone give me some pointers on getting into some Maso=
n code into the Perl debugger?<div><br></div><div><a href=3D"http://search.=
cpan.org/~jswartz/HTML-Mason-1.54/lib/HTML/Mason/Devel.pod#USING_THE_PERL_D=
EBUGGER">http://search.cpan.org/~jswartz/HTML-Mason-1.54/lib/HTML/Mason/Dev=
el.pod#USING_THE_PERL_DEBUGGER</a><br>
</div><div><br></div><div>..describes what to do once you are in there, but=
 does show how to get in there initially?</div><div><br></div><div><div sty=
le=3D"font-family:arial,sans-serif;font-size:13px">I have some xml rpc call=
s which are handled by mason. These calls are in *.mas files.=C2=A0</div>
<div style=3D"font-family:arial,sans-serif;font-size:13px"><br></div><div s=
tyle=3D"font-family:arial,sans-serif;font-size:13px">Doing:</div><div style=
=3D"font-family:arial,sans-serif;font-size:13px"><br></div><div style=3D"fo=
nt-family:arial,sans-serif;font-size:13px">
=C2=A0 perl -d file.mas=C2=A0</div><div style=3D"font-family:arial,sans-ser=
if;font-size:13px"><br></div><div style=3D"font-family:arial,sans-serif;fon=
t-size:13px"><br></div><div style=3D"font-family:arial,sans-serif;font-size=
:13px">...doesn&#39;t work, probably because the request is not set. How do=
 I get into the debugger? Thanks in advance for any response.</div>
</div></div>

--047d7b67676e55b50004fb842bc6--


--===============4786911035518186479==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
--===============4786911035518186479==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

--===============4786911035518186479==--