Olive.jl icon indicating copy to clipboard operation
Olive.jl copied to clipboard

Feature suggestion: Redirect from exceptions

Open VarLad opened this issue 3 years ago • 2 comments

Since Olive can print errors, a cool thing to have would be to A good thing to have would be to:

  1. Click on the filenames in the stacktrace and it opens that file in a pane in Olive, possibly directly on the given line number
  2. If the file is already open, just point to the appropriate cell and line number

VarLad avatar Mar 19 '23 11:03 VarLad

Since Olive can print errors, a cool thing to have would be to A good thing to have would be to:

  1. Click on the filenames in the stacktrace and it opens that file in a pane in Olive, possibly directly on the given line number
  2. If the file is already open, just point to the appropriate cell and line number

Ooooo, I like this, this would go nicely with the new Project/environment (and sub-projects which would go perfectly with this). I will milestone it!

emmaccode avatar Mar 20 '23 04:03 emmaccode

Here is my idea for an approach to this, here is the StackFrame documentation: https://docs.julialang.org/en/v1/base/stacktraces/ We simply create a stack frame inside of the evaluation module, should be really straightforward :)

emmaccode avatar Mar 20 '23 04:03 emmaccode