Re: How to debug custome perl debugger?

[email protected] (Brock Wilcox) Fri, 25 Mar 2016 13:17:22 -0400
Newsgroups perl.debugger
Message-ID <CAFkkL_hpYQ5Ez+z3WqL9SmgJvn4vnGscvwxxiz6B9r=VT0yXFg@mail.gmail.com>
--089e011604e8745484052ee2bcd4
Content-Type: text/plain; charset=UTF-8

What I've done in the past is to do log-based debugging, where I open and
write to a log file directly in my DB::subs.

On Fri, Mar 25, 2016 at 3:12 AM, Eugen Konkov <[email protected]> wrote:

> Hi.
>
> I have write custom perl debugger and want to trace step-by-step the
> DB::DB and DB::sub subroutines (debug them). But in normal case this
> feature is disabled because of its nature. It is ok.
>
> Does anybody know switch to disable this feature so I can trace DB::* subs?
> The [DOC](http://perldoc.perl.org/perldebguts.html) just mention about
> `$^D  |= (1<<30)` but it seems does not work :(
>
>
>
> --
>  Eugen                          mailto:[email protected]
>
>

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

<div dir=3D"ltr">What I&#39;ve done in the past is to do log-based debuggin=
g, where I open and write to a log file directly in my DB::subs.</div><div =
class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Fri, Mar 25, 2016 a=
t 3:12 AM, Eugen Konkov <span dir=3D"ltr">&lt;<a href=3D"mailto:kes-kes@yan=
dex.ru" target=3D"_blank">[email protected]</a>&gt;</span> wrote:<br><block=
quote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc=
 solid;padding-left:1ex">Hi.<br>
<br>
I have write custom perl debugger and want to trace step-by-step the DB::DB=
 and DB::sub subroutines (debug them). But in normal case this feature is d=
isabled because of its nature. It is ok.<br>
<br>
Does anybody know switch to disable this feature so I can trace DB::* subs?=
<br>
The [DOC](<a href=3D"http://perldoc.perl.org/perldebguts.html" rel=3D"noref=
errer" target=3D"_blank">http://perldoc.perl.org/perldebguts.html</a>) just=
 mention about `$^D=C2=A0 |=3D (1&lt;&lt;30)` but it seems does not work :(=
<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
<br>
<br>
--<br>
=C2=A0Eugen=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 mailto:<a href=3D"mailto:[email protected]">kes=
[email protected]</a><br>
<br>
</font></span></blockquote></div><br></div>

--089e011604e8745484052ee2bcd4--