Effacer les filtres
Effacer les filtres

breakpoints grey and cannot be set

41 vues (au cours des 30 derniers jours)
Saharul Arof
Saharul Arof le 16 Oct 2021
Réponse apportée : MEP le 5 Mai 2022
i cannot use breakpoints...all in grey color
  3 commentaires
dpb
dpb le 16 Oct 2021
The editor shows warnings/errors with the red flag at the top -- breakpoints can't be set if there are compilation errors.
Fix those and I'll bet joy will ensue...
Walter Roberson
Walter Roberson le 16 Oct 2021
To me the colors look orange, which is warning like no semi-colon on the line. Red can prevent breakpoints but I only see orange.

Connectez-vous pour commenter.

Réponses (2)

Ananya Tewari
Ananya Tewari le 19 Oct 2021
Hello,
Ideally you should be able to set breakpoints using the left click on "-" symbol beside the line number, if somehow that is not possible you can try using dbstop and see if you can set a breakpoint. Additionally refer to this document to understand debugging in MATLAB Editor.

MEP
MEP le 5 Mai 2022
Sometimes if the GUI is not saved the color is grey, after you have saved click on "-" and it began coloured. I hope it will be useful to other users as well.

Catégories

En savoir plus sur Variables dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by