Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: Finding errors in my code?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg48060] Re: [mg48057] Finding errors in my code?
  • From: schmitther at t-online.de (Hermann Schmitt)
  • Date: Mon, 10 May 2004 06:51:16 -0400 (EDT)
  • References: <200405090702.DAA02625@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hello,
I aggree with Mr. Greenberg, Mathematica writes the error messages to the
end of the program code and gives no reference to the location of the error
in the program.
That may make the task of the programmers much more difficult than
necessary.
Another solution could be, that Mathematica writes the error message
directly behind the command, that causes the error. I think, this could be
accomplished very easily.
Hermann Schmitt
----- Original Message -----
From: "Jonathan Greenberg" <greenberg at ucdavis.edu>
To: mathgroup at smc.vnet.net
Subject: [mg48060] [mg48057] Finding errors in my code?


> I often get errors which, while I might know what they mean (e.g.:
> CompiledFunction::cflist: Non-tensor object generated; proceeding with
> \
> uncompiled evaluation. ), I have no idea what call resulted in that
> particular error -- is there a way to get Mathematica 5 more descriptive
> error outputs (e.g. Having it recite back which line of code, or which
> command caused the error in question)?
>
> --j
>
> --
> Jonathan Greenberg
> Graduate Group in Ecology, U.C. Davis
> http://www.cstars.ucdavis.edu/~jongreen
> http://www.cstars.ucdavis.edu
> AIM: jgrn307 or jgrn3007
> MSN: jgrn307 at msn.com or jgrn3007 at msn.com
>


  • Prev by Date: Re: Re: Mandelbrot Set & Mathematica
  • Next by Date: Re: Interpretation of subscripts
  • Previous by thread: Finding errors in my code?
  • Next by thread: Re: Finding errors in my code?