[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] Stupid Debugger Questions



Given the following program:

#!perl -w
use strict;

my $f = "testing";

print $f;

If I stop before the print, and execute the command V main f I get no
output, why?

Is there anyway to dump all the local variables in a subroutine?

Is there anyway to do this automagically after every step?

The documentation says the line number for a is optional, but when I
write

a print "Hello Cruel World"

the debugger complains

    # syntax error, near "a print"
    File '(eval 2155)'; Line 2

A doesn't clear all actions for me - is this a known bug?

a lineNum expr

expr seems to need to be valid perl - for example I can't use a debugger
command here like x $s.  Is that true?  Is there any way to set an
action on a line number that is a debugger command?

===

I reserve the right to ask more stupid debugger questions later :-)

Jim, used to GUI debuggers, text relexes hard wired for Macsbug

-- 
Jim Correia                                Bare Bones Software, Inc.
correia@barebones.com                     <http://web.barebones.com>

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org