🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.lisp
Article #578

Untrace bug in Franz Lisp

#578
From: michael maxwell
Date: Thu, 15 May 1986 17:15
25 lines
1739 bytes
System: Franz lisp v39 on a Sun II w/ v2. of Sun's OS (BSD 4.2)

I have been running into some strange behavior when using the "printres" 
option in trace, where the trace is set in the program.  Unfortunately, I
haven't been able to isolate it in a small testcase.  But maybe an example
of the problem will help.  Consider the following code embedded inside another 
(intrepreted) function:
	(trace (foo printres some-print-func))
	:
	:
	(untrace)
("foo" is compiled, if that matters.)
The call to "untrace" does not turn off the trace on "foo" when called from 
within the other function, although trace can be turned off from the top level. 
But even then, if you set a trace on foo again, it doesn't work right, e.g. if 
you say (trace foo), trace resumes using "some-print-func" rather than doing a 
simple trace.  There appears to be some tracing info on the plist of "foo", but 
setting this to nil doesn't help...

Has anyone else run into this problem, and if so, have you been able to isolate
a small testcase?  Better yet, have you come up with a solution?
-- 
Mike Maxwell
Boeing Artificial Intelligence Center
	...uw-beaver!uw-june!bcsaic!michaelm
Technical Details
Message-ID: <544@bcsaic.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!husc6!harvard!seismo!rochester!bullwinkle!uw-beaver!ssc-vax!bcsaic!michaelm

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!husc6!harvard!seismo!rochester!bullwinkle!uw-beaver!ssc-vax!bcsaic!michaelm
From: michaelm@bcsaic.UUCP (michael maxwell)
Newsgroups: net.lang.lisp
Subject: Untrace bug in Franz Lisp
Message-ID: <544@bcsaic.UUCP>
Date: Thu, 15-May-86 13:15:48 EDT
Article-I.D.: bcsaic.544
Posted: Thu May 15 13:15:48 1986
Date-Received: Fri, 30-May-86 09:17:29 EDT
Organization: Boeing Computer Services AI Center, Seattle
Lines: 25