1. Watchdog
- Posted by Irv Mullins <irv at ELLIJAY.COM>
Nov 02, 1998
-
Last edited Nov 03, 1998
If you are trying to track down a pesky bug, or want to observe
changes in something like mouse coordinates in real time (without
using the trace) - here's how:
type watch (object x)
position(1,1) -- or wherever
puts(1," ") -- clear a space for new text
position(1,1)
? x
end type
Now, just change your variable declaration from, for example,
atom z
to
watch z
or from
object mousecoords
to
watch mousecoords
Voila! You now have a real-time watchdog.
Irv
2. Re: Watchdog
- Posted by Irv Mullins <irv at ELLIJAY.COM>
Nov 02, 1998
-
Last edited Nov 03, 1998
On Mon, 2 Nov 1998 21:44:36 -0500, Irv Mullins <irv at ELLIJAY.COM> wrote:
>type watch (object x)
> position(1,1) -- or wherever
> puts(1," ") -- clear a space for new text
> position(1,1)
> ? x
return 1 -- <<< SORRY! It doesn't work without this line!
>end type
Having to reply to my own messages ;(
bah humbug!
Irv