Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Using the perl debugger

by almut (Canon)
on Mar 15, 2009 at 17:47 UTC ( [id://750761]=note: print w/replies, xml ) Need Help??


in reply to Re: Using the perl debugger
in thread Using the perl debugger

Devel::ptkdb has a "step over" command that should do the trick.

Are you sure this isn't just a frontend to what happens when you press 'n' in the command line debugger? I.e. the usual "step over sub" ('n') vs. "step into sub / single step" ('s'). A quick check of the sources seems to confirm my suspicion...

Replies are listed 'Best First'.
Re^3: Using the perl debugger
by planetscape (Chancellor) on Mar 15, 2009 at 18:34 UTC

    Actually, no, I am not 100% certain. I've not used either graphical debugger, just the CLI. I was basing my statement on an evident misreading of the content of the Devel::ptkdb tutorial, which states:

    Step in: continuing execution step by stepping inside the currently selected line of code. If the current line of code contains a function, stepping in will go inside that function.
    Step over: continuing execution over the currently selected line of code. Execution occurs unconditionally, regardless of the line's contents, and control returns to the debugger upon completion.

    As opposed to the CLI's help menu that n

    Next, steps over subs

    , not lines.

    My mistake. almut is correct.

    HTH,

    planetscape

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://750761]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2026-01-21 09:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (125 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.