Doug Hull, MathWorks
(Originally posted on Doug's MATLAB Video Tutorials blog.)
GUIDE GUI's in MATLAB are really just a series of function calls triggered by callbacks associated with different uicontrols. Because these are all sub-functions, it can be difficult to get into the sub-function at the right time to see the variables that are in scope. This technique allows you do debug a GUI without putting in conditional break points in your code.
Recorded: 21 Mar 2011