Why is there no Error Handling section in the Breakpoint button dropdown in the R2018a Editor toolstrip?
3 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2017 年 12 月 22 日
編集済み: MathWorks Support Team
2018 年 4 月 18 日
I am using R0218a and noticed that the Error Handling section in the breakpoint dropdown is gone.
This Error Handling section used to have functionality for: * Pause on Errors * Pause on Warnings * More Error and Warning Handling Options...
Where can I now find the functionality?
採用された回答
MathWorks Support Team
2018 年 3 月 14 日
編集済み: MathWorks Support Team
2018 年 4 月 18 日
The options that were previously located on the Editor *tab, in the *Error Handling section of the Breakpoints button dropdown menu have been moved.
These options can now be found in the Run button dropdown menu.
To show the "Pause on Caught Errors" option under the Run button dropdown menu, change the "ShowPauseOnCaughtErrorOption" MATLAB setting:
>> s = settings;
>> s.matlab.editor.displaysettings.ShowPauseOnCaughtErrorOption.PersonalValue = 1;
For more information about how to interact with breakpoints using the above options, see:
The advanced error breakpoint configuration options previously available through Breakpoints > More Error and Warning Handling Options… can no longer be modified interactively. These options can still be modified programmatically using the dbstop function:
For example, to pause execution when a caught error occurs, use:
>> dbstop if caught error
To pause execution when a specific error, caught error or warning occurs, use:
>> dbstop if error IDENTIFIER
>> dbstop if caught error IDENTIFIER
>> dbstop if warning IDENTIFIER
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Debugging and Analysis についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!