When I running my m file, and I break it to run line by line. I don't why my Step button (F10), step in, step out, and also Quit debugging are disabled. How can I turn it on?
Best Answer
You need to be in debug mode. Put a break point on the line and then run the file. NOTE You can not debug sections so you will need to run the file with Run button or by calling the filename.
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