Debugging exec function in PERL

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Am debugging one perl module named in my project.
In that one shell script is calling using the exec function.
In the shell script one more perl module named is getting called.
And I set the breakpoints on the load of the by using the below
command in perl debugger
 DB<15> b load
Will stop on load of ``

And I set the breakpoints on one function in the file using the
below commands
 DB<16> b postpone Main
  DB<17> b compile Main

Unfortunately the perl debugger without stopping at these locations
completing the execution.
Is I have to do any setting to stop at ?
Am not getting any idea how to go further?


Re: Debugging exec function in PERL

Quoted text here. Click to load it

Make sure that the child Perl script is started in debugging mode (one
possibility may be PERL5OPT=-d).  This would start a completely new
debugging session for each child Perl script; it would know nothing
about what you did in the parent debugger session.

Hope this helps,

Site Timeline