Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: Disabling a hardcoded breakpoint

by hexcoder (Curate)
on Mar 12, 2016 at 10:09 UTC ( [id://1157536]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Disabling a hardcoded breakpoint
in thread Disabling a hardcoded breakpoint

ok, maybe you can replace the hard coded breakpoints with
  • either a conditional breakpoint like this

    if (some interesting abnormal condition) { $DB::single = 1; }
    (if you need them permanently in your code). This should trigger only when something is not as expected (so hopefully seldom).

  • or debug with the automatic breakpoint method, I mentioned in my first reply.
  • or use a conditional breakpoint from the debugger (b [line] [condition] from Debugger Commands)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-03-29 04:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found