🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ti.explorer
Article #437

(none)

#437
From: fsr
Date: Sun, 04 Feb 1990 22:16
27 lines
1233 bytes
Subject: tracing all accesses to an instance


oh flavor gurus,

i have a question.

yesterday i created a flavor and began using it in my application.
the 8 or so methods that i wrote for it defined the interface
to the rest of my "world".  but then i began using it, and things didn't
work right, and because i couldn't be sure the rest of my "world"
was making calls to my instance in the proper order, and with the
proper arguments, i set about trying to "trace" all accesses to it.

unfortunately the function TRACE expects some kind of valid function
object...fair enough.  then i remembered that the function APPLY and
hence FUNCALL allow flavor instances to be used in place of other
valid function objects.  so it tried

(eval `(trace ,*instance*))

but to no eval.

i still assume this can be accomplished somehow.  can anybody help?

thanks,
frank
Technical Details
Message-ID: <9002042216.AA17010@bubba>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!bubba.att.com!fsr

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!bubba.att.com!fsr
From: fsr@bubba.att.com
Newsgroups: comp.sys.ti.explorer
Subject: (none)
Message-ID: <9002042216.AA17010@bubba>
Date: 4 Feb 90 22:16:19 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Distribution: inet
Organization: The Internet
Lines: 27