MATLAB: Is there no Error Handling section in the Breakpoint button dropdown in the R2018a Editor toolstrip

breakpointcaughteditorerroridinfnanMATLABmessagenaninfonstoptoolstripwarning

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?

Best Answer

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