Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(238)

Unified Diff: docs/android_debugging_instructions.md

Issue 2740353003: Add basic debugging instructions for Android Studio. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | docs/android_studio.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: docs/android_debugging_instructions.md
diff --git a/docs/android_debugging_instructions.md b/docs/android_debugging_instructions.md
index 1102fbfcc2fef47727111b58b8a3bc8c821b61c6..8fd2dd891188b91fdf335bd2574a33a08e89d3c6 100644
--- a/docs/android_debugging_instructions.md
+++ b/docs/android_debugging_instructions.md
@@ -92,6 +92,7 @@ private int mSuperNiftyDrawingProperty;
## Debugging Java
+### Eclipse
* In Eclipse, make a debug configuration of type "Remote Java Application".
Choose a "Name" and set "Port" to `8700`.
@@ -109,6 +110,12 @@ private int mSuperNiftyDrawingProperty;
* Run your debug configuration, and switch to the Debug perspective.
+### Android Studio
+* Build and install the desired target
+
+* Click the "Attach debugger to Android process" (see
+[here](https://developer.android.com/studio/debug/index.html) for more)
+
## Waiting for Java Debugger on Early Startup
* To debug early startup, pass `--wait-for-java-debugger` as a command line
« no previous file with comments | « no previous file | docs/android_studio.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698