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

Show stack trace for inline evaluations that go wrong #434

Closed
PEZ opened this issue Oct 27, 2019 · 2 comments
Closed

Show stack trace for inline evaluations that go wrong #434

PEZ opened this issue Oct 27, 2019 · 2 comments

Comments

@PEZ
Copy link
Collaborator

PEZ commented Oct 27, 2019

As an infrequent user of the REPL window, I do have one use case where I always use it: When an evaluation fails and I don't understand the error message. Then I evaluate the same thing to the REPL window to get the stack trace it prints. It would be nice to have this help automatically, so that when an editor inline evaluation fails, the stack trace is always ready to be shown in the REPL window. So something like this:

  1. An evaluation fails
  2. The error is printed in the REPL window
  3. The window is revealed without the editor losing focus. (Automatically revealing the window might be something that should be configurable) Or not happening when the window Is in the same group. We need to also figure out what to do if the window is not opened.
  4. In the REPL window I can click to show the stack trace.

Related: #424

@stefan-toubia
Copy link
Contributor

This should be pretty easy to implement after #424, I will keep this in mind.

@zcaudate
Copy link

zcaudate commented Feb 6, 2020

I'd like to have something of this type as well. The errors when in-line evaling are not enough and I'm having to constantly fall back to emacs to figure out what is wrong.

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

3 participants