Breakpoints stopped working since I upgraded to R2021b
18 ビュー (過去 30 日間)
古いコメントを表示
I upgraded from R2019a and many new features are present in R2021b. I am pretty sure it is some new feature I am not aware of.
My problem is setting a breakpoint in a method in a class .m file.
The breakpoint is in the constructor being code from the command window. I am not doing anything different from what I used to do in R2019 but it is just ignoring all of my breakpoints. I think I just am not running in debug mode or something
I am pretty use I am calling the correct file. The file is also being saved before execution. Lemme know if more information is needed
0 件のコメント
回答 (2 件)
Markus Schmidt
2021 年 12 月 27 日
編集済み: Image Analyst
2021 年 12 月 31 日
Dear Hazem,
I had the same problem. But the breakpoints are still available. You can activate a breakpoint by clicking directly on the line number in the left margin. If you click to the right of line number, you will run from the current location to this line and then stop.
Srivardhan Gadila
2021 年 12 月 31 日
There are some changes in interface and setting breakpoints from R2021b onwards. To understand the differences, you can refer to the following documentation pages:
参考
カテゴリ
Help Center および File Exchange で Workspace Variables and MAT-Files についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!