Desktop Tools and Development Environment Previous page   Next Page

Correcting Problems and Ending Debugging

These are some of the ways to correct problems and end the debugging session:

Many of these features are used in Completing the Example.

Changing Values and Checking Results

While debugging, you can change the value of a variable in the current workspace to see if the new value produces expected results. While the program is paused, assign a new value to the variable in the Command Window, Workspace browser, or Array Editor. Then continue running or stepping through the program. If the new value does not produce the expected results, the program has a different or another problem.


Previous page  Examining Values in the Example Ending Debugging Next page

© 1994-2005 The MathWorks, Inc.