breakpoints grey and cannot be set

10 views (last 30 days)
Saharul Arof
Saharul Arof on 16 Oct 2021
Answered: Ananya Tewari on 19 Oct 2021
i cannot use breakpoints...all in grey color
Walter Roberson
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.

Sign in to comment.

Answers (1)

Ananya Tewari
Ananya Tewari on 19 Oct 2021
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.




Community Treasure Hunt

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

Start Hunting!