Summary: in the past. NetAndJavaApplication Development Process,DirectlyCodeBreak the breakpoint and followDedugTo directly debug the application.ProgramButAndroidThe application involves running devices.AndroidHow can I debug it during development? The following describes how to implement this problem.
Step oneCreateAndroidApplication,And run
NewAndroid Project, After creation,CodingSource code to implement the application function.
After the application is implemented, clickRunIcon to run the application.
Step twoOpenDdms,Select the running application and enable the debugging function.
In the Action menu, selectDdmsIcon, and click to openDdmsPage
(Note:: DdmsFull nameDalvik debug monitor service, ProvideDalvikVirtual Machine debugging and Monitoring Service)
Select the application to be debugged and clickDebugIcon to debug the application
Step threeOpenDebugWindow, set the breakpoint, and debug
SelectDebugWindow button, Click ShowDebugWindow,
In the code window, select the code to be debugged and set the breakpoint. When an application on the simulator runs to a breakpoint, the application is interrupted and debugged.