debug code with system command exec other perl files

M

miten

Hi,

is there way we can debug code including those perl files which might
be exec with system command.

i have code which is like:

main.pl
---------
#....some code
system("other.pl");

I want to set break points in other.pl. In fact other.pl loads other
module like someother:submodule:subr and would like to set break point
in subr which is called from exec other.pl.

Regards,

Miten.
 
P

Peter Scott

Hi,

is there way we can debug code including those perl files which might be
exec with system command.

i have code which is like:

main.pl
---------
#....some code
system("other.pl");

I want to set break points in other.pl. In fact other.pl loads other
module like someother:submodule:subr and would like to set break point
in subr which is called from exec other.pl.

system("$^X -d other.pl");
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,570
Members
45,045
Latest member
DRCM

Latest Threads

Top