disable and enable all breakpoints

24 visualizaciones (últimos 30 días)
Tesla1947
Tesla1947 el 11 de Nov. de 2019
Comentada: Al in St. Louis el 30 de Abr. de 2025
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

Respuestas (2)

Juan Carlos Alvarado Morones
Juan Carlos Alvarado Morones el 2 de Jul. de 2022
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 comentario
Al in St. Louis
Al in St. Louis el 30 de Abr. de 2025
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!

Iniciar sesión para comentar.


Amir Hajiaboli
Amir Hajiaboli el 7 de Abr. de 2021
Did you get it work? I am using MATLAB R2019b and have the same problm. Thanks

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by