Client side: Tell LispWorks how to open a connection for remote debugging on the client side within a dynamic extent.
with-remote-debugging-spec (host &key port log-stream failure-function timeout open-callback) &body body => body-values
A string specifying the IDE side hostname, or nil
.
An integer.
An output stream or nil
.
nil
or a function of two arguments: Host and Port.
A non-negative real
or nil
.
nil
or a function that takes one argument, a newly opened connection.
Lisp forms.
The macro with-remote-debugging-spec
establishes a dynamic extent of connection specification, calls configure-remote-debugging-spec passing it host, any supplied keywords (port, log-stream, failure-function, timeout, open-callback) and also :setup-default nil :enable nil
. body is evaluated as an implicit progn
in this dynamic extent. On exiting with-remote-debugging-spec
, the connection specification reverts to what it was on entry.
The effect is to have a configured connection specification in the dynamic extent of body that is different from the global one, without having any effect on the global settings.
with-remote-debugging-spec
returns the values returned by body.
See configure-remote-debugging-spec for the meaning of host and the other keywords.
LispWorks User Guide and Reference Manual - 20 Sep 2017