debugger not steping into the sub

S

Sam

Hello
$perl -d test.pl
DB<19> n
main::(perl.pl:44)
@Mk = ma_calc(@field, $Mk);
DB<19>
it goes not actually going into my subroutine which is at line 55 of my
perl.pl

any hint is appriciated.
thanks
 
P

peter pilsl

Sam said:
Hello
$perl -d test.pl
DB<19> n
main::(perl.pl:44)
@Mk = ma_calc(@field, $Mk);
DB<19>
it goes not actually going into my subroutine which is at line 55 of my
perl.pl

any hint is appriciated.
thanks


try s instead of n if you want to enter subroutines ..

s [expr] Single step. Executes until the beginning of another
statement, descending into subroutine calls. If an
expression is supplied that includes function calls, it
too will be single-stepped.

n [expr] Next. Executes over subroutine calls, until the beginning of
the next statement. If an expression is sup­
plied that includes function calls, those functions will
be executed with stops before each statement.

peter
 

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

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top