When debugging in R2021b, the current line is highlighted in light green making it impossible to read the line when the text color is light and background is dark.
60 views (last 30 days)
This happens only when the function being viewed is above in the call-stack from the one at which execution has stopped.
Any idea how this color might be changed?
See below an example showing how to reproduce this problem, this time with the default colors:
Rik on 24 Mar 2022
The line highlight has been changed to a much darker shade of green in R2022a. This leaves code readible if you have set your font color to something light.
So there isn't a solution in R2021b, but R2022a will get you what you need.