🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.perl
Article #524

Re: Debugging few modules .

#524
From: Ilya Zakharevich
Date: Thu, 21 Aug 1997 18:53
22 lines
1516 bytes
In article <01bcae43$ebdb7040$1575de9e@sycon21.sycon-design.com>,
Sharon Zohar <szohar@sycon-design.com> wrote:
> I need to debug  a program that was developed in few separate
> modules .
> How can I use break points or step by step in modules that are
> not part of the main module .

Please read what debugger says you.  On start it advices to try `h h'
or `h'. `h h' produces, in particular:

  f filename  View source in file

Btw, you do not *need* even this.  If you need to set a breakpoint in
module::func, just do it (and do not forget that if you have ReadLine
working, command completion works).

However, your question may be related to debugging initialization of
`use'd modules.  Then you need to read perldebug, it contains an
answer, related to `R' command.

Hope this helps,
Ilya
Technical Details
Message-ID: <5ti2r3$rfg@agate.berkeley.edu>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!agh.edu.pl!ict.pwr.wroc.pl!nntp.uio.no!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!howland.erols.net!agate!usenet
References: <01bcae43$ebdb7040$1575de9e@sycon21.sycon-design.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!agh.edu.pl!ict.pwr.wroc.pl!nntp.uio.no!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!howland.erols.net!agate!usenet
From: ilya@math.ohio-state.edu (Ilya Zakharevich)
Newsgroups: comp.lang.perl.misc,comp.lang.perl.modules,comp.lang.perl.tk,pl.comp.lang.perl
Subject: Re: Debugging few modules .
Date: 21 Aug 1997 18:53:23 GMT
Organization: at home now
Lines: 22
Message-ID: <5ti2r3$rfg@agate.berkeley.edu>
References: <01bcae43$ebdb7040$1575de9e@sycon21.sycon-design.com>
NNTP-Posting-Host: tuzik.hip.berkeley.edu
X-Newsreader: TRN for OS/2
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit