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

feature: defmt-print detect executable changing #794

Open
d3zd3z opened this issue Nov 6, 2023 · 1 comment
Open

feature: defmt-print detect executable changing #794

d3zd3z opened this issue Nov 6, 2023 · 1 comment

Comments

@d3zd3z
Copy link

d3zd3z commented Nov 6, 2023

When debugging using the JLink debugger, it remains attached, and is able to (eventually) detect that the target has reset. However, if using defmt-print tcp to this target, it doesn't notice that the executable has changed, and will continue trying to decode messages from the old symbols. I'm not sure the best way to handle this, but just wanted to think about how it could be handled.

@jonathanpallant
Copy link
Contributor

We might be able to watch the file and reload it if it changes? You could also do something similar using a package like inotify-tools in the interim.

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

2 participants