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

Re^5: No Pause on Elsif in Debugger (let's fix it)

by tye (Sage)
on Jul 28, 2004 at 16:49 UTC ( #378111=note: print w/replies, xml ) Need Help??


in reply to Re^4: No Pause on Elsif in Debugger
in thread No Pause on Elsif in Debugger

I'm no expert on this but I goaded a few experts on this and in the end I don't think they came up with any good reasons why 'elsif' shouldn't just be declared "a statement" as far as opcode generation is concerned so that run-time line numbers can be correct and the debugger can stop on such lines.

I expected that this would find its way to p5p and someone would post some evidence of that to this thread. Maybe this goading will make that happen. If not, you might want to escalate to p5p yourself (after first searching the archive to see if it has already been discussed).

- tye        

  • Comment on Re^5: No Pause on Elsif in Debugger (let's fix it)

Replies are listed 'Best First'.
Re^6: No Pause on Elsif in Debugger (let's fix it)
by diotalevi (Canon) on Jul 28, 2004 at 16:55 UTC
    This involves making the optimizer optimize less for a case that it already did well enough in. This new optimize-by-doing-less would only be appropriate during -d debugging and then might be considered a source of heisenbugs.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://378111]
help
Chatterbox?
[Corion]: Hmm. My overkill logging of transactions seems to bear fruit. I've built it in a way that the decision on every transaction must be logged, even if the transaction is just skipped, to prevent silent skips.
[Corion]: Now, three years in production, it found a situation (during development) where stuff was skipped without getting a log message.

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2017-08-21 07:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (318 votes). Check out past polls.

    Notices?