http://www.perlmonks.org?node_id=652846

Devel::sdb is an enhanced version of Perl's (v5.8.8) powerful interactive debugger. The GUI version ptkdb does a very good job already. However, smart debugger takes different approach to problem solving and focuses on non GUI situations. Some of the features added to this version are data rendering, flexible breakpoints, zoompoints, custom mode for debugging fork process and syntax highlighting.

-----( DATA )------ $bar is 3 $foo is 0 -----( CODE )------ t1.pl:.:1 $foo = 0; t1.pl:.:2 $bar = 3; t1.pl:.:3 t1.pl:.:4=> if($foo == 2 and $bar == 3) { t1.pl:.:5 print "im good \n"; t1.pl:.:6 } else { t1.pl:.:7>> print "im bad \n"; t1.pl:.:8 } t1.pl:.:9

Replies are listed 'Best First'.
Re: Smart Debugger
by eric256 (Parson) on Nov 25, 2007 at 23:08 UTC

    With no links and no code i'm pretty confused. What is this post about?


    ___________
    Eric Hodges
        please find the below link. you can find the examples in the same. http://search.cpan.org/~kraman/Devel-sdb-0.01/sdb.pm
      Not sure why the cpan shell can't find it, but I guess it's got to do with the lower case module name or something.

      Install like this:

      cpan KRAMAN/Devel-sdb-0.01.tar.gz

      /J

Re: Smart Debugger
by jplindstrom (Monsignor) on Dec 18, 2007 at 00:39 UTC
    Wow, that looks great!

    I usually use the Emacs integrated Perl debugger, but when I'm pairing on a team mate's machine and need to run the debugger in the shell, this is definitely something to try.

    /J

      cpan Devel::sdb will do (or) install Devel::sdb in cpan shell