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!