Differences
This shows you the differences between two versions of the page.
| |
matlab_debugging [2010/06/22 02:21] – created jochen | matlab_debugging [2010/06/22 02:46] (current) – added dbup/dbdown jochen |
---|
* ''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 ===== |