Desktop Tools and Development Environment |
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.
Examining Values in the Example | Ending Debugging |
© 1994-2005 The MathWorks, Inc.