comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » debug IDL DLM in Visual C++
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Debug [message #46648 is a reply to message #29396] Thu, 08 December 2005 10:46 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
ChiChiRuiz@gmail.com writes:

> I've been using a procedure for analysing image data (develped in
> house). However, when I run the procedure, sometimes I get the
> message:
> Program caused arithmetic error: Floating divide by 0
> Program caused arithmetic error: Floating illegal operand
>
> but sometimes I don't. What is a good way to debug in this situation
> where I have no idea what's causing "dividing by 0"? Any comment is
> appreciatd!

Set !Except=2 and run your program. You will get an error
now when it happens instead of a message.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL Application Development
Next Topic: Fun Writing Books

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 18:09:48 PDT 2025

Total time taken to generate the page: 0.43793 seconds