You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support for debugging DashR errors needs improvement #86
Currently, DashR lacks adequately informative error messages; errors such as the one seen here are likely to be very hard for developers (and app users) to interpret:
Ideally, we would offer several enhancements to improve the debugging experience when errors are thrown while in debug mode:
return a full call stack, or a partial one which has been "pruned" of internal function calls either related to the error itself or initial configuration tasks prior to invoking DashR-related functions
catch the error and instead display it as a warning, which may enable more productive debugging once support for interactive breakpoints (accessed via the callback graph) is implemented; currently an error "freezes" the DashR app
It would also be nice to
return line numbers and function names for errors; this is complicated by R's current handling of srcref attributes (see below).
The majority of these improvements were made in #87. Line numbers will addressed in an upcoming PR, but for the time being the basic support for improved debugging is now in place.
Activity
rpkyle commentedon Jun 18, 2019
The majority of these improvements were made in #87. Line numbers will addressed in an upcoming PR, but for the time being the basic support for improved debugging is now in place.