- Right-click at the starting line of the code which you want to analyze
- Select "Run to cursor"
- Your program will be run. Enter some values to test the code
- In the lower-left side, choose 'Local' tab. Here, you can monitor the local variables assignment.
- Debug -> Step into (shortcut: F11), to run the next code
- Do the last step for several time while monitoring the 'Local' tab, until you figure out how your code works.
Friday, March 11, 2011
Step Through Codes during Debugging Process
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment