clears the "if error" break only. This is explained indoc dbclear . Matlab's documentation is a treasure.
If this is not the wanted behavior, please explain again, what you are looking for. Actuallydbstop if error let the debugger only stop, when there is a hard error, which is not covered by a TRY-CATCH-block. Did you typedbstop if all error?
Best Answer