diff --git a/docs/html/tools/debugging/debugging-projects-cmdline.jd b/docs/html/tools/debugging/debugging-projects-cmdline.jd index 0b79575903a37..032d6ce6f9baa 100644 --- a/docs/html/tools/debugging/debugging-projects-cmdline.jd +++ b/docs/html/tools/debugging/debugging-projects-cmdline.jd @@ -18,7 +18,7 @@ parent.link=index.html -
If you are not using Eclipse to develop, you can still take advantage of all the tools that +
If you are not using Android Studio to develop, you can still take advantage of all the tools that the Android SDK provides for debugging. A basic debugging environment consists of:
A Java Debugger assists you in finding problems with your code by letting you set breakpoints, step through execution of your application, and examine - variable values. Since you are not using Eclipse, you have to manually start up the debugging + variable values. Since you are not using Android Studio, you have to manually start up the debugging environment yourself by running a few tools that are provided in the Android SDK. To begin debugging your application, follow these general steps:
@@ -46,8 +46,8 @@ parent.link=index.html/tools directory. This also starts ADB if it is
not already started. You should see your device appear in DDMS..apk file on the device or emulator. In DDMS, you should see your
- application running under the device that you installed it to..apk file on the device or emulator. In DDMS, you should
+ see your application running under the device that you installed it to.Your IDE should attach to your application running on the emulator, showing you its threads and allowing you to suspend them, inspect their state, and set breakpoints. If you selected "Wait - for debugger" in the Development settings panel the application will run when Eclipse connects, + for debugger" in the Development settings panel the application will run when Android Studio connects, so you will need to set any breakpoints you want before connecting.
Changing either the application being debugged or the "Wait for debugger" option causes the diff --git a/docs/html/sdk/installing/studio-debug.jd b/docs/html/tools/debugging/debugging-studio.jd similarity index 99% rename from docs/html/sdk/installing/studio-debug.jd rename to docs/html/tools/debugging/debugging-studio.jd index b0484009af3ac..b0604572058aa 100644 --- a/docs/html/sdk/installing/studio-debug.jd +++ b/docs/html/tools/debugging/debugging-studio.jd @@ -10,7 +10,6 @@ page.title=Debugging with Android Studio
-The system log shows system messages while you debug your app. These messages include @@ -405,4 +403,4 @@ app, and you can also attach them to bug reports that you send to your developme
The Android SDK provides most of the tools that you need to debug your applications. You need a JDWP-compliant debugger if you want to be able to do things such as step through code, - view variable values, and pause execution of an application. If you are using Eclipse, a + view variable values, and pause execution of an application. If you are using Android Studio, a JDWP-compliant debugger is already included and there is no setup required. If you are using another IDE, you can use the debugger that comes with it and attach the debugger to a special port so it can communicate with the application VMs on your devices. The main components that @@ -27,7 +27,8 @@ page.title=Debugging
adb acts as a middleman between a device and your development system. It provides various
+ adb acts as a middleman between a device and your development system. It
+ provides various
device management capabilities, including moving and syncing files to the emulator, running a
UNIX shell on the device or emulator, and providing a general means to communicate with
connected emulators and devices.adb device
- daemon runs on the device or emulator and provides a means for the adb host daemon to
- communicate with the device or emulator.adb device daemon runs on the device or emulator and provides a means for the
+ adb host daemon to communicate with the device or emulator.