Debug and Focus, Huh?

조회 수: 3 (최근 30일)
dpb
dpb 2019년 1월 15일
편집: dpb 2019년 1월 20일
Is there no way to make focus stay in command window instead of jumping to editor when reach breakpoint????
Am always typing onto the code and screwing it up when what one really wants to do is to poke around with the command line...
VERY annoying! :(

답변 (2개)

Steven Lord
Steven Lord 2019년 1월 15일
Try turning off the "Automatically open files when MATLAB reaches a breakpoint" entry in the MATLAB Editor/Debugger preferences.
  댓글 수: 1
dpb
dpb 2019년 1월 19일
AH! I missed the meaning when looking at preferences on initial setup years and years and years ago and since it's always behaved that way didn't think to go look again...generally it's not a bad thing as a lot of the time one is actually poking around in the code is the reason for the breakpoint; in this case I'm using it to be able to do other things with results interactively before going on; the code itself is doing what is intended so is just in the way...

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


Jan
Jan 2019년 1월 15일
편집: dpb 2019년 1월 20일
I'm using a tool under Windows, which let the focus follow the mouse: WizMouse. This is useful for scrolling in background windows, and it keeps the focus in the wanted window with[out (dpb)] the need to touch Matlab in any way.
  댓글 수: 1
dpb
dpb 2019년 1월 19일
편집: dpb 2019년 1월 20일
I'd had one of those in the past, Jan, but lost it somewhere...being able to do that w/o the physical click is nice altho the cursor itself may not actually be in the command window at the time the breakpoint is entered I discovered if do something else during the debug session and then dbcont
I gave each a Vote as both are "partially most excellent" Answers but either leaves a manner in which may still be "issues" :)

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

카테고리

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

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by