From 825b3abc9c41ac1909965c7d6268ae6e0bcebc0e Mon Sep 17 00:00:00 2001 From: Robert Spier Date: Thu, 20 Sep 2001 15:45:03 -0700 Subject: [PATCH] Re: GDB Debugging Macros from mod_perl Message-ID: <15274.54239.413929.49430@rls.cx> p4raw-id: //depot/perl@12106 --- pod/perltodo.pod | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 -- 2.7.4