Presentation is loading. Please wait.

Presentation is loading. Please wait.

DEBUGGING.

Similar presentations


Presentation on theme: "DEBUGGING."— Presentation transcript:

1 DEBUGGING

2 Introduction In all but the most simple programs, you will need to fix errors The Eclipse debugging tools help with this process You can Look at the values of variables Set breakpoints and watch program execution Use LogCat and the logging system to display informational messages And much more

3 The Debug Perspective A perspective is just a collection of different views Display the Debug perspective with Window, Perspective, Debug Display the DDMS perspective with Window, Perspective, DDMS Reset a perspective with Window, Reset Perspective

4 The Debug Perspective (Illustration)

5 LogCat LogCat displays a stack trace

6 The Debug Perspective (Breakpoints)
Execution will be temporarily suspended at breakpoints

7 Setting Breakpoints Click in the left margin to set a breakpoint on an executable statement

8 Exception Breakpoints
Control how exceptions are handled

9 The Debug Perspective (Variables)
Examine the values of variables

10 The Debug Perspective (Debug)
Examine the call stack


Download ppt "DEBUGGING."

Similar presentations


Ads by Google