Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Floating point exception

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


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 12: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
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found