MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: debug compiled function

  • To: mathgroup at
  • Subject: [mg39741] Re: debug compiled function
  • From: Jens-Peer Kuska <kuska at>
  • Date: Wed, 5 Mar 2003 00:04:50 -0500 (EST)
  • Organization: Universitaet Leipzig
  • References: <b41cic$pfu$>
  • Reply-to: kuska at
  • Sender: owner-wri-mathgroup at


compiled code can't debugged because there is no
actual documentation about the machine instruction
set of the compiler.

You can try an ordinary Mathematica debugger from

Typical this error comes form a symbol or a high
precision number that is used as an argument.

The good old Print[] function is a fine tool
to find the error.


Brent Pedersen wrote:
> with certain parameters entered into my compiled function i get:
> CompiledFunction::cfn: Numerical error encountered at instruction 59;
> proceeding with uncompiled evaluation
> how can i most easily find what is instruction 59?
> i would guess there is something i need to wrap in Evaluate[] but can't
> tell what as this is a long function.

  • Prev by Date: Problem :mathematica building help browser index
  • Next by Date: Re: export some data to a specified file?
  • Previous by thread: debug compiled function
  • Next by thread: Re: debug compiled function