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

Stacktrace line numbers in @defcomp Macro #374

Closed
lrennels opened this issue Dec 15, 2018 · 2 comments
Closed

Stacktrace line numbers in @defcomp Macro #374

lrennels opened this issue Dec 15, 2018 · 2 comments
Assignees
Labels
Milestone

Comments

@lrennels
Copy link
Collaborator

This most recently came up when I was helping to debug some code for Helen and found that the stacktrace for the missing access uses the macro expansion line numbers, making it cumbersome to hunt down which indexing expression causes a problem. Maybe this is just the way it is, especially without a debugger, but we could brainstorm a way to improve it if possible.

@lrennels lrennels added this to the Backlog milestone Dec 15, 2018
@davidanthoff davidanthoff modified the milestones: Backlog, v0.6.4 Feb 15, 2019
@davidanthoff davidanthoff self-assigned this Feb 15, 2019
@rjplevin
Copy link
Collaborator

A simple one-line fix (for each of run_timestep and init) cures this. See new PR.

@lrennels lrennels reopened this Sep 24, 2019
@lrennels
Copy link
Collaborator Author

lrennels commented Sep 24, 2019

I am reopening this issue per this discussion: https://forum.mimiframework.org/t/improve-missing-data-error-message/96/3 where the error message doesn't seem to be correct ... but it seems we should have solved this here. Talking to Frank to see if the line number was correct.

@davidanthoff davidanthoff modified the milestones: v0.6.4, v1.0.1 Oct 11, 2019
@lrennels lrennels modified the milestones: v1.0.1, v1.0.2 Aug 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants