All Manuals > LispWorks® User Guide and Reference Manual > 31 The CLOS Package

break-new-instances-on-access Function

Summary

Breaks to the debugger when a new instance of a class is accessed. Note that this function is deprecated.

Package

clos

Signature

break-new-instances-on-access class-designator &key read write slot-names when process trace-output entrycond eval-before before backtrace => t

Arguments
class-designator
The class to trap.
read
A generalized boolean.
write
A generalized boolean.
slot-names
A list of symbols, or t.
when
A form.
process
A form.
trace-output
A form.
entrycond
A form.
eval-before
A list of forms.
before
A list of forms.
backtrace
A keyword, t or nil.
Description

The function break-new-instances-on-access causes a break when new instances of the class given by class-designator are accessed, according to the keyword arguments.

The keyword arguments read, write, slot-names, when, process, trace-output, entrycond, eval-before, before and backtrace control which type of access cause a break and are interpreted as described for trace-on-access.

Note: this function is deprecated. You should now call trace-new-instances-on-access with :break t instead.

See also

trace-new-instances-on-access


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:25