disable and enable all breakpoints

I do not want to clear all breakpoints and put them again.
I am debugging a huge set of files and need to enable/disable multiple breakpoints at a single point of time, and say keep only one active at some point and disable all others.
Can you tell me how to do this in matlab
I use R2017a

2 件のコメント

Ajay Pattassery
Ajay Pattassery 2019 年 11 月 14 日
I hope the above suggestion worked for you.

サインインしてコメントする。

回答 (2 件)

Juan Carlos Alvarado Morones
Juan Carlos Alvarado Morones 2022 年 7 月 2 日

1 投票

I first found this answer in another forum entry:
BUT a quick (easier) fix I found (which is what I was looking for), is to right-click the gray space next to the line number where you would normally click to set a breakpoint at that line, and from the pop-up menu select "Disable All Breakpoints in File".
Hope it helps!

1 件のコメント

Al in St. Louis
Al in St. Louis 2025 年 4 月 30 日
Your answer is still helping people. I remember when there was a button in the ribbon do clear all breakpoints. Now I've learned how to clear all breakpoints in R2024a. Thanks!

サインインしてコメントする。

Amir Hajiaboli
Amir Hajiaboli 2021 年 4 月 7 日

0 投票

Did you get it work? I am using MATLAB R2019b and have the same problm. Thanks

1 件のコメント

Juan Carlos Alvarado Morones
Juan Carlos Alvarado Morones 2022 年 7 月 2 日
I posted an alternative below, hope it helps (:

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

質問済み:

2019 年 11 月 11 日

コメント済み:

2025 年 4 月 30 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by