NextPrevUpTopContentsIndex

break-on-access

Function
Summary

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

Package

clos

Signature

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

Arguments

instance

A CLOS instance.

The keyword arguments control which type of access cause a break and are interpreted as described for trace-on-access.

Values

Returns t .

Description

A useful debugging function which causes access to instance to break to the debugger. Accesses include calls to slot-value and also accessor functions defined by the class of instance . Other instances of the same class are unaffected.

You can remove the break by calling unbreak-on-access.

A common use of this function is to find where a slot is being changed in a complex program.

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

See also

trace-on-access


LispWorks Reference Manual - 20 Jul 2006

NextPrevUpTopContentsIndex