Unable to set breakpoint
48 次查看(过去 30 天)
显示 更早的评论
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
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.
回答(1 个)
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
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Whos 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!