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

Re: [MacPerl] Stupid Debugger Questions



On Wed, Dec 27, 2000 at 10:36:35PM -0500, Jim Correia wrote:
> On 10:27 PM 12/27/00 Ronald J Kimball
> <rjk@linguist.Thayer.Dartmouth.EDU> wrote:
> 
> > The V and X debugger commands are used to view variables in a
> > specific package.  However, lexical variables (those declared with
> > my) are not in any package.  The x command should be used to examine
> > the values of lexical variables.
> 
> That's unfortunate.
> 
> <flamesuit protection="highest">
> 
> Even gdb can do that.  Maybe there isn't the notion of a stack frame in
> perl?
> 
> </flamesuit>

The issue, as I understand it, is that the standard Perl debugger is
written in pure Perl, and there is no way in pure Perl to access stack
frames or other low-level structures.  It would have to be done with
XS and C instead.


Ronald

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