User Tools

Site Tools


matlab_debugging

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

matlab_debugging [2010/06/22 02:21] – created jochenmatlab_debugging [2010/06/22 02:46] (current) – added dbup/dbdown jochen
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 =====
matlab_debugging.1277173264.txt.gz · Last modified: 2010/06/22 02:21 by jochen