|Did you know ...||Search Documentation:|
|Pack debug_adapter -- prolog/swipl_debug_adapter.pl|
This predicate is passed as the
on_command callback option of da_server/1.
swipl_debug_adapter currently defines a single DAP client, which unifies
emacs('dap-mode'), Exec with
path(emacs) and Args with
where ELisp is a string denoting an Emacs Lisp form that Emacs executes
to start the DAP session.
Users can specify different DAP clients by defining other clauses for this predicate. The solutions of this predicate are collected using findall/3, if mulitple solutions are found when the tracer is started, the user will be prompted to select a client to start.
Note: before version 0.7.0 of the
debug_adapter package, a
similar feature was provided that relied on a different multifle
user:debugger_connection_template/1. This predicate
supersedes that interface which is now obsolete.