Skip to content
This repository was archived by the owner on Oct 30, 2026. It is now read-only.
This repository was archived by the owner on Oct 30, 2026. It is now read-only.

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

Closed

Description

@rpkyle

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

Metadata

Metadata

Assignees

Labels

enhancementparity

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions