How to quit debug mode with shortcut when focus is on command window?

I've set up a shortcut to quit debug mode, however the shortcut only works when my focus is on the editor. If my focus is on the command window it does not work. Is there any way to make it work?

回答 (1 件)

Jan
Jan 2018 年 4 月 15 日

0 投票

Inside the command window Shift+F5 should exit the debug mode already as default. So where did you set which kind of "shortcut"?

5 件のコメント

Liyuan
Liyuan 2018 年 4 月 15 日
編集済み: Liyuan 2018 年 4 月 15 日
Hmm neither shift f5 or shift-fn-f5 seem to work, I set it to ctrl-c in preferences, there is an action called exit debug mode, I'm using a mac btw.
Jan
Jan 2018 年 4 月 16 日
Does this mean that you set the keyboard shortcut in the preferences of the command window to Ctrl-C and it does not work? Was it set to another key before? Does any other shortcut work in your command window?
Liyuan
Liyuan 2018 年 4 月 16 日
Yes, I set the shortcut in preferences>keyboard>shortcut exit debug mode to ctrl-c. I realize that was the problem, after changing it to something else it works in the command window, however I still have issues with the shortcut for run (Run or continue execution). Currently I have it set to cmd-R, it doesn't work in command window, no matter what I set it to. Other shortcut keys seem to work fine in the command window. F5/fn-F5 don't work, I think I've changed them at some point.
Liyuan
Liyuan 2018 年 4 月 16 日
Also, just to clarify, there are no apparent conflicts under "All possible conflicts".
Walter Roberson
Walter Roberson 2018 年 4 月 16 日
Control c can never be reassigned. It is one of the shortcut restrictions.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

タグ

質問済み:

2018 年 4 月 14 日

コメント済み:

2018 年 4 月 16 日

Community Treasure Hunt

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

Start Hunting!

Translated by