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

Need support for including line number references in stack traces when available #132

Closed
rpkyle opened this issue Oct 16, 2019 · 0 comments
Assignees
Labels
enhancement parity Modifications to improve parity across Dash implementations

Comments

@rpkyle
Copy link
Contributor

rpkyle commented Oct 16, 2019

Since #87, we have provided stack trace messages when debug=TRUE:

image

These messages have lacked line number information, which limits their utility for debugging purposes since the location of the code which resulted in the error is not provided. In #127, the path to the source file is now stored whenever source or Rscript are used to launch the app.

This has the side benefit of enabling retrieval of line numbers via the srcref attribute, using srcfile:

https://stat.ethz.ch/R-manual/R-devel/library/base/html/srcfile.html

We should take advantage of this functionality to include line numbers when available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement parity Modifications to improve parity across Dash implementations
Projects
None yet
Development

No branches or pull requests

2 participants