Next Previous Up Top Contents Index

1 The CLOS Package

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

Ift, trap read accesses to the class. The default ist.

write

Ift, trap write accesses to the class. The default ist.

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 ist.

break

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

Values

Returnst.

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 functionbreak-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 - 15 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker