Difference between revisions of "Team1/Debugging your programs"

From CDOT Wiki
Jump to: navigation, search
(12. Debugging Your Program)
(12. Debugging Your Program)
Line 2: Line 2:
 
'''12.1. Debugging and Debugger Perspective:''' In order to debug your application, select the Source folder (src), right click and select "Debug As" and choose Java Application from the menu. You will receive a pop-up message indication shifting the perspective to Debug perspective which has all the view used in debugging for convenience.Answer "Yes" to the pop-up.
 
'''12.1. Debugging and Debugger Perspective:''' In order to debug your application, select the Source folder (src), right click and select "Debug As" and choose Java Application from the menu. You will receive a pop-up message indication shifting the perspective to Debug perspective which has all the view used in debugging for convenience.Answer "Yes" to the pop-up.
 
<br/>
 
<br/>
[[Image:Debug1.jpg|600px ]]<br/><br/>
+
[[Image:Debug1.jpg|500px ]]<br/><br/>
[[Image:Debug2.jpg|600px ]]<br/><br/>
+
[[Image:Debug2.jpg|700px ]]<br/><br/>
 
'''12.2. Setting Breakpoints:'''
 
'''12.2. Setting Breakpoints:'''
 
<br/>
 
<br/>

Revision as of 23:07, 30 January 2011

12. Debugging Your Program

12.1. Debugging and Debugger Perspective: In order to debug your application, select the Source folder (src), right click and select "Debug As" and choose Java Application from the menu. You will receive a pop-up message indication shifting the perspective to Debug perspective which has all the view used in debugging for convenience.Answer "Yes" to the pop-up.
Debug1.jpg

Debug2.jpg

12.2. Setting Breakpoints:
Debug3.jpg

12.3. Step Over:
12.4. Step Into:
12.5. Other Useful Function keys:
12.6. Add Watch:
Debug4.jpg