From: Robert Spier Date: Thu, 20 Sep 2001 22:45:03 +0000 (-0700) Subject: Re: GDB Debugging Macros from mod_perl X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=825b3abc9c41ac1909965c7d6268ae6e0bcebc0e;p=p5sagit%2Fp5-mst-13.2.git Re: GDB Debugging Macros from mod_perl Message-ID: <15274.54239.413929.49430@rls.cx> p4raw-id: //depot/perl@12106 --- diff --git a/pod/perltodo.pod b/pod/perltodo.pod index aa8545b..fd991cb 100644 --- a/pod/perltodo.pod +++ b/pod/perltodo.pod @@ -826,4 +826,16 @@ by SADAHIRO Tomoyuki have been included since 5.8.0. Collation? http://www.unicode.org/unicode/reports/tr10/ Normalization? http://www.unicode.org/unicode/reports/tr15/ +=head2 Create debugging macros + +Debugging macros (like printsv, dump) can make debugging perl inside a +C debugger much easier. A good set for gdb comes with mod_perl. +Something similar should be distributed with perl. + +The proper way to do this is to use and extend Devel::DebugInit. +Devel::DebugInit also needs to be extended to support threads. + +See p5p archives for late May/early June 2001 for a recent discussion +on this topic. + =cut