A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.lispworks.com/documentation/lw71/LW/html/lw-462.htm below:

remote-debugging-connection-add-close-cleanup

remote-debugging-connection-add-close-cleanup

remote-debugging-connection-remove-close-cleanup

Summary

Add or remove a function that is called when a remote debugging connection is closed.

Signature

remote-debugging-connection-add-close-cleanup connection function => changed-p

remote-debugging-connection-remove-close-cleanup connection function => changed-p

Values

changed-p

Boolean.

Description

The function remote-debugging-connection-add-close-cleanup records function as a cleanup in connection. When connection is closed, for whatever reason, each recorded function is invoked (by funcall for a function or symbol, or by applying the car to the cdr for a list). function is added only if it is not already in the list (tested by equal).

The function remote-debugging-connection-remove-close-cleanup removes function from the cleanups if it was already added (tested by equal).

changed-p is t if the cleanups were modified and nil otherwise.

Both functions may be called on either side (IDE or client).

Notes

You should not assume anything about the order of calls to the cleanup functions.

Unhandled errors during the call to function are handled and reported to the log-stream of the connection.

remote-debugging-connection-remove-close-cleanup is needed when you repeatedly create some objects that do not live for long but you still want cleanups for them. In this situation, the cleanup list would grow indefinitely unless you call remote-debugging-connection-remove-close-cleanup when an object is discarded.

LispWorks User Guide and Reference Manual - 20 Sep 2017


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4