This shows you the differences between two versions of the page.
matlab_debugging [2010/06/22 04:21] jochen created |
matlab_debugging [2010/06/22 04:46] jochen added dbup/dbdown |
||
---|---|---|---|
Line 19: | Line 19: | ||
* ''dbstop if error'' - intercept any error that would mean program termination | * ''dbstop if error'' - intercept any error that would mean program termination | ||
* ''dbstop if all error'' - intercept any exception (error message), even those that are caught by ''try, STATEMENT, catch, ERROR_HANDLER, end'' blocks | * ''dbstop if all error'' - intercept any exception (error message), even those that are caught by ''try, STATEMENT, catch, ERROR_HANDLER, end'' blocks | ||
+ | * ''dbup'' and ''dbdown'' - change the workspace of inspection to peek into variables used by the caller function (helpful if you suspect that the error occurred "up the chain") and back down | ||
===== General procedure ===== | ===== General procedure ===== |