breakpoints grey and cannot be set
Show older comments
i cannot use breakpoints...all in grey color
3 Comments
Walter Roberson
on 16 Oct 2021
With the view you happened to show, we cannot be sure that you have clicked on a particular line.
What happens if you left click on the '-' that is before the line you want to set the breakpoint at?
dpb
on 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
on 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.
Answers (2)
MEP
on 5 May 2022
1 vote
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.
Ananya Tewari
on 19 Oct 2021
0 votes
Categories
Find more on Creating, Deleting, and Querying Graphics Objects 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!