Skip to content
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

add backtrace printing to elnode-errors #56

Open
nicferrier opened this issue Jan 6, 2013 · 0 comments
Open

add backtrace printing to elnode-errors #56

nicferrier opened this issue Jan 6, 2013 · 0 comments

Comments

@nicferrier
Copy link
Owner

Here's is how to do backtrace collection:

(defun nic-test-2 ()
  (let ((standard-output (get-buffer-create "*nic-backtrace*")))
    (backtrace)))

An initial thought is that any condition-case capture could capture the backtrace in a unique buffer and add a link to the produced error message to elnode-log that will let you follow it. But that might be expensive on buffers.

Another alternative would be to add it as a property to the log-line so that a buffer viewer mode could handle it's display

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant