Next Prev Up Top Contents Index

trace-new-instances-on-access

Function
Summary

Traces new instances of a given class, based on access modes.

Package

clos

Signature

trace-new-instances-on-access class-designator
&key read write slot-names break => t

Arguments

class-designator

The class to trace.

read

If t , trace read accesses to the class. The default is t .

write

If t , trace write accesses to the class. The default is t .

slot-names

t means trace on all slots, otherwise this should be a list of symbols which are the slot-names to trace. The default is t .

break

When non- nil , the debugger is entered. When nil , messages are printed to *trace-output* .

Values

Returns t .

Description

Causes new instances of the class given by class-designator to be traced for the access modes given by read , write and slot-names .

This function, when used with the break keyword, replaces the deprecated function break-new-instances-on-access.

Example
(trace-new-instances-on-access 'capi:display-pane
                               :slot-names nil)
See also
break-new-instances-on-access
untrace-new-instances-on-access
trace-on-access

LispWorks Reference Manual - 25 Jul 2003

Next Prev Up Top Contents Index