Provide clickable links in exception stack traces to jump to error.
I was benchmarking some code which happened to throw an exception and noticed that the exception stack trace has been formatted to replace the line number with a clickable link that goes to that line in my query.
E.g.
![](https://us.v-cdn.net/5019392/uploads/editor/oe/99r1kswzag49.png "")
That's a pretty handy feature and I was wondering if the same thing could be done with the unhandled exception message handler?
The FormatException code in BenchmarkDotNet.linq only works for lines in the current query (which would probably cover the vast majority of cases), but doesn't work with #loaded scripts, but the stack trace in the debugger can create links to open #loaded scripts at a particular line number, so perhaps it would possible to do this with exceptions as well.
Great idea. This is now implemented in 8.4.9.
-
sgmoore commented
Thank you.