Function: dape-breakpoint-log
dape-breakpoint-log is an interactive and natively compiled function
defined in dape.el.
Signature
(dape-breakpoint-log MESSAGE)
Documentation
Add log breakpoint at current line with MESSAGE.
Expressions within {} are interpolated.
Key Bindings
ctl-x-map C-a l dape-global-map l global-map C-x C-a l help-quick-use-map C-x C-a l
Source Code
;; Defined in /nix/store/1fiaif8pifqj2jh65rbg3fkhg3i56q42-emacs-packages-deps/share/emacs/site-lisp/elpa/dape-0.27.1/dape.el
(defun dape-breakpoint-log (message)
"Add log breakpoint at current line with MESSAGE.
Expressions within {} are interpolated."
(interactive
(list
(read-string "Log (Expressions within {} are interpolated): "
(when-let* ((breakpoint
(cl-find 'log (dape--breakpoints-at-point)
:key #'dape--source-breakpoint-type)))
(dape--source-breakpoint-value breakpoint)))))
(if (string-empty-p message)
(dape-breakpoint-remove-at-point)
(dape--breakpoint-place 'log message)))