Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Avoid refocusing editor to current line after error when debugging?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Walter Roberson
am 8 Jun. 2018
Preferences -> Editor/Debugger
and turn off "Automatically open files when MATLAB reaches a breakpoint"
1 Kommentar
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!