Info
此问题已关闭。 请重新打开它进行编辑或回答。
Avoid refocusing editor to current line after error when debugging?
1 次查看(过去 30 天)
显示 更早的评论
When debugging/building a functions/scripts, I'll often run blocks of edited code while execution is paused. Frequently, this results in errors. Because I use dbstop error, this will pause the execution a second time. So I inspect the error and resume execution (bringing me back to the original location in the stack). What happens then is that the editor refocuses/scrolls to the current paused location in code, which is often hundreds of lines from where I'm actually working. Is there any way to disable this? It's physically disorienting.
0 个评论
回答(1 个)
Walter Roberson
2018-6-8
Preferences -> Editor/Debugger
and turn off "Automatically open files when MATLAB reaches a breakpoint"
1 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!