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

Add ability to persist latest value between runs #15

Open
jamwaffles opened this issue Dec 18, 2022 · 0 comments
Open

Add ability to persist latest value between runs #15

jamwaffles opened this issue Dec 18, 2022 · 0 comments

Comments

@jamwaffles
Copy link
Member

In getting line AA working, I've often been dragging the start of a line (defined by an option in the debug tools) to a particular place to either produce an error, debug an attempt to fix that error or to see the error has gone. When iterating on features, it gets old pretty fast to have to note down the failing coordinates and drag the line to that position again on restart of the debug tool.

It would be super useful to be able to configure certain options (or a more coarse grained all/none, I don't mind) to persist into a file between runs of the debug tools to be able to quickly start up with the previous parameters again.

I was thinking of a very simple JSON file with the same name as the binary being run, stored next to it but impl is an open question.

I think this leads to problem with e.g. Point and Size requiring ser/de impls which, from what I can see, would require a serde feature added to e-g with another cfg option as defmt already has. Maybe this is a good thing, but it's more noise in e-g which I don't feel great about.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant