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

Re: Floating point exception

by BlueLines (Hermit)
on Apr 01, 2001 at 03:23 UTC ( [id://68777]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Floating point exception

This is exactly what the perl debugger is for. You can step through the program line by line and check values of variables at any point. You say that the program is too long to do backtraces on, but it seems to me that it would be quicker to spend an hour in the debugger than 4 hours adding debugging statements in your code.

BlueLines

Disclaimer: This post may contain inaccurate information, be habit forming, cause atomic warfare between peaceful countries, speed up male pattern baldness, interfere with your cable reception, exile you from certain third world countries, ruin your marriage, and generally spoil your day. No batteries included, no strings attached, your mileage may vary.

Replies are listed 'Best First'.
Re: Re: Floating point exception
by grinder (Bishop) on Apr 02, 2001 at 08:06 UTC
    yeah, right.

    Believe me, I've tried all the tricks I know in the debugger, including some of the weirder breakpoint variants, with no joy. Which is why I'm looking for some kind of trick that will give the script some intrinsic method of telling me what's going wrong, rather than me wasting my time trying to spot the problem through an extrinsic analysis.


    --
    g r i n d e r

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://68777]
help
Sections?
Information?
Find Nodes?
Leftovers?
    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.