Skip to content

Commit

Permalink
Fix no threads message
Browse files Browse the repository at this point in the history
  • Loading branch information
svaante committed Jan 26, 2025
1 parent 270004f commit de59ff1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dape.el
Original file line number Diff line number Diff line change
Expand Up @@ -3777,7 +3777,8 @@ See `dape-request' for expected CB signature."
(cl-defmethod dape--info-revert (&context (major-mode (eql dape-info-threads-mode))
&optional _ignore-auto _noconfirm _preserve-modes)
"Revert buffer function for MAJOR-MODE `dape-info-threads-mode'."
(if-let ((conn (dape--live-connection 'last t)))
(if-let* ((conn (dape--live-connection 'last t))
((dape--threads conn)))
(dape--with-request (dape--info-threads-stack-info conn)
(cl-loop
initially do (set-marker dape--info-thread-position nil)
Expand Down

0 comments on commit de59ff1

Please sign in to comment.