Mathematica 9 is now available
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: Any way to display vars internal to a function on interrupt?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg46631] Re: Any way to display vars internal to a function on interrupt?
  • From: "Robert G. Wilson v" <rgwv at rgwv.com>
  • Date: Thu, 26 Feb 2004 17:53:20 -0500 (EST)
  • References: <butadu$98f$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Yes, I often compute primes of a particular characteristic, say 9^n+2. I will 
write Do[ m=n; If[ PrimeQ[ 9^n+2], Print[n]], {n, 1, 10^6}] and leave it running 
overnight. The next morning, I will interrupt the program and ask for the value of 
m. The iterator 'n' is not retrievable directly. Bob.

Don Taylor wrote:

> Is there any plausible way to display the current state of the
> internals of a user defined function when I've interrupted the
> kernal evaluation?  V 5.0
> 
> Thanks
> 


  • Prev by Date: Re: Saving Kernel Status
  • Next by Date: Re: Speed of V5 vs V4
  • Previous by thread: Re: Summation limits
  • Next by thread: need help with writing algorithm for polynomial gcd!