Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: How perl debugger breakpoint works?

by chromatic (Archbishop)
on Sep 06, 2011 at 02:06 UTC ( #924315=note: print w/ replies, xml ) Need Help??


in reply to How perl debugger breakpoint works?

When compiling code with the debugger active, Perl replaces what would normally be nextstate ops with dbstate ops. The latter check for breakpoints when encountered. See pp_dbstate in pp_ctl.c.


Comment on Re: How perl debugger breakpoint works?
Select or Download Code
Re^2: How perl debugger breakpoint works?
by PerlOnTheWay (Scribe) on Sep 06, 2011 at 02:54 UTC

    Where does Perl replace nextstate with dbstate?

    When I search OPf_SPECIAL,there're too many stuff popped up..

      See the newSTATEOP function in op.c. The optree generator calls this function during compilation.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (10)
As of 2014-04-20 22:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (488 votes), past polls