-
-
Notifications
You must be signed in to change notification settings - Fork 645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display debug-on-exception messages #3366
Conversation
Looking forward to seeing some of those unrelated changes become PRs as well. ;-) |
@@ -154,15 +157,17 @@ configure `cider-debug-prompt' instead." | |||
#("." 0 1 (display (left-fringe right-triangle))) | |||
"Used as an overlay's before-string prop to place a fringe arrow.") | |||
|
|||
(defun cider--debug-display-result-overlay (value) | |||
(defun cider--debug-display-result-overlay (value caught) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You'll need to mention this in the docstring to make checkdoc happy.
No rush. CIDER 1.8 is still in development in probably won't be released for a week or two more. If this PR can make there it'd be great, but if not - not a big deal. |
Hey @yuhan0 - do you have the chance to revisit this one? Else it seems quite minor - could give it a shot myself today/tomorrow. |
@vemv That would be great if you could 🙏 |
@yuhan0 if you'd like to re-take this PR soon let us know, I plan to work on misc stuff for the following few days |
Thanks - I'm tentatively back from that long-ish absence, currently in the midst of piecing together a broken Emacs config from the 29.1 update 😅 But yes, I'll be able to revisit this PR as soon as I re-familiarize myself with the issue and the recent updates to Cider and friends :) |
Cheers. Much better like that 🍻 |
great to see yuhan0 has put a lot of work on this 😄 |
@bo-tato I can answer your questions, but I'd suggest to move this to a discussion topic first as I don't think it belongs here. |
you're right it's getting off topic from the PR, I opened a discussion here |
Thanks! |
Support for clojure-emacs/cider-nrepl#772
A quick PR without the proper changelogs / updates to manual, etc. Changes untested after being rebased on master branch, but I've been dogfooding them on a messy local branch with many (hopefully unrelated) changes for the last month or two. Might be able to clean things up a bit this weekend.
Does not provide feature for auto-inserting
#dbg!
macros or instrumenting defns (eg. with negative argument) - see #3337Before submitting the PR make sure the following things have been done (and denote this
by checking the relevant checkboxes):
eldev test
)eldev lint
) which is based onelisp-lint
and includescheckdoc
, check-declare, packaging metadata, indentation, and trailing whitespace checks.Thanks!
If you're just starting out to hack on CIDER you might find this section of its
manual extremely useful.