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

Flash software breakpoints are not cleared when exiting debug session #374

Closed
altar-m opened this issue Jan 15, 2021 · 3 comments
Closed

Comments

@altar-m
Copy link

altar-m commented Jan 15, 2021

While debugging my code for Cortex-M0+ MCU, I found out that "Cortex-Debug" doesn't clear flash software breakpoints when it closes debug session. That results in corrupted flash, so after power reset MCU breaks in the place of software breakpoint even when you are not debugging.

I haven't found any previous mentions of this problem, so I decided to report.

@altar-m
Copy link
Author

altar-m commented Jan 15, 2021

I suppose this issue will be solved with pull request "delete all break points with disconnect." #363 by @kohada88

@Marus
Copy link
Owner

Marus commented Jan 17, 2021

There is a 0.3.8-pre release on the GitHub release page that you can install to get what should hopefully fix this issue immediately. I hope to get a final 0.3.8 release out in the next day or two once I finish testing a few things.

@Marus
Copy link
Owner

Marus commented Jan 26, 2021

@Preebluda - I'm going to assume that this has fixed your issues with the flash corruption and close the issue. If you're still having issues please re-open the ticket and we can investigate further.

@Marus Marus closed this as completed Jan 26, 2021
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