Condition in conditional breakpoint ignored: debugger stops there anyway
3 views (last 30 days)
Show older comments
It sometimes happens that conditions I set for a given breakpoint are ignored: the debugger will stop there even if the condition isn't yet met, as shown in the situation below, where no other breakpoints existed in the script:
Sometimes restarting Matlab seems to help, but not always. What is the reason for this?
Thanks for any help.
3 Comments
Answers (1)
Image Analyst
on 18 May 2022
Conditions are only updated, I believe, then the file is saved. If you change the condition you may have to save the file, which you might not be able to do if there are any changes that you've made while stopped at a break point.
4 Comments
Image Analyst
on 20 May 2022
Perhaps, but the good news is that they fixed it and you have R2022a so you're all set. 🙂
See Also
Categories
Find more on Function Creation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!