examining local variables of frames up the stack

Discussion in 'Perl Misc' started by badarisj@gmail.com, Feb 23, 2006.

  1. Guest

    folks,

    i did some digging on the net and it looks like in perl when stopped at
    a break-point, you can NOT examine the local variables of other frames
    up
    the stack.

    for example, in debugger if it shows:

    <DB 5> $ = pkg1::sub1 ( args ) at pkg1.pm line xx
    $ = pkg2::sub2 ( args ) at pkg2.pm line yy

    and if i want to see what local/my variable values are for the
    pkg2::sub2 method,
    is there any way (without having to return back to pkg2::sub2 and
    examining stuff there)?

    if anyone knows how to do this, i would appreciate pointers.

    thanks,
     
    , Feb 23, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Tim Williams

    examining 'self' in IDLE

    Tim Williams, Feb 4, 2004, in forum: Python
    Replies:
    0
    Views:
    257
    Tim Williams
    Feb 4, 2004
  2. Micah
    Replies:
    3
    Views:
    272
    Richie Hindle
    Aug 26, 2004
  3. Replies:
    9
    Views:
    454
  4. Phil Sandler

    Programatically Examining Page Controls

    Phil Sandler, Jun 11, 2008, in forum: ASP .Net
    Replies:
    2
    Views:
    346
    Phil Sandler
    Jun 11, 2008
  5. Casey Hawthorne
    Replies:
    3
    Views:
    1,092
    Flash Gordon
    Nov 1, 2009
Loading...

Share This Page