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 >