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
break-new-instances-on-access class-designator
                     &key read write slot-names break
 => t
Arguments

class-designator

The class to trap.

read

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

write

If t , trap 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
(break-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 (Windows version) - 14 Dec 2001

Next Prev Up Top Contents Index