Skip to content

Commit

Permalink
Add dape-debug contents on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
svaante committed Jan 1, 2024
1 parent 9f7bd26 commit 250cbb8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dape-tests.el
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ failed."
(ert-test-failed
(message "Current buffer: %s" (current-buffer))
(message "Current buffer contents:\n%s" (buffer-string))
(when-let ((debug-buffer (get-buffer "*dape-debug*")))
(message "dape-debug contents:\n%s" (buffer-string)))
(signal 'ert-test-failed (cdr err))))
(let ((ret ,pred))
(ignore ret)
Expand Down

0 comments on commit 250cbb8

Please sign in to comment.