Unable to set breakpoint

조회 수: 12 (최근 30일)
Martin Contreras Carrera
Martin Contreras Carrera 2020년 4월 3일
답변: Anmol Dhiman 2020년 4월 9일
Every time I try to set a breakpoint, the red circle comes up as long as I keep 'holding' the click, but then when I 'release' the click, it goes away. I used to be able to set breakpoints normally but now I can't
  댓글 수: 2
Tommy
Tommy 2020년 4월 4일
Is this for all files or just a particular file? If the latter, did you happen to edit the file while you were debugging it? I've had similar issues in the past, and if restarting MATLAB did not fix it, I was able to fix it by just copying my code to a new file.
Martin Contreras Carrera
Martin Contreras Carrera 2020년 4월 5일
This is happening for all files

댓글을 달려면 로그인하십시오.

답변 (1개)

Anmol Dhiman
Anmol Dhiman 2020년 4월 9일
Hi Martin,
This may be related to an issue with the caching. Try running the following commands, and then try debugging again:
>> restoredefaultpath
>> rehash toolboxcache
If this works, run the command below:
>> savepath
Incase the above solution didnot help , do let me know.
Thanks,
Anmol Dhiman

카테고리

Help CenterFile Exchange에서 Search Path에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by