Why is there no Error Handling section in the Breakpoint button dropdown in the R2018a Editor toolstrip?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 22 de Dic. de 2017
Editada: MathWorks Support Team
el 18 de Abr. de 2018
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?
Respuesta aceptada
MathWorks Support Team
el 14 de Mzo. de 2018
Editada: MathWorks Support Team
el 18 de Abr. de 2018
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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Debugging and Analysis en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!