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

Unified Diff: site/user/quick/android.md

Issue 910173002: Update docs with instructions for debugging Android SampleApp. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 10 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: site/user/quick/android.md
diff --git a/site/user/quick/android.md b/site/user/quick/android.md
index 5a39049bd1c0a4f529112ef9933f7a43a17ef97f..833ec127d1624ed187eb54e4f17801c8cf8197fd 100644
--- a/site/user/quick/android.md
+++ b/site/user/quick/android.md
@@ -155,14 +155,20 @@ Clean up all generated files
Debugging on Android
--------------------
-We support debugging on using a GDB wrapper script. The script loads the app
-onto the device, starts a gdbserver instance with that app, and then enters a
-GDB client shell on the host. Necessary symbol files are pulled from the
-device and placed into a temporary folder. The script does not build the app -
-you'll have to do that first.
+We support 2 modes of debugging on Android using GDB wrapper scripts. These
+scripts start a gdbserver instance on the device and then enter an interactive
+GDB client shell on your host. All necessary symbol files should
+be pulled from the device and placed into a temporary folder (android_gdb_tmp).
- # you can include additional arguments in quotes (e.g. "dm --nopdf")
+Note: The debugging scripts do not build the app - you'll have to do that first.
+
+ # COMMAND LINE APPS
+ # include additional arguments in quotes (e.g. "dm --nopdf")
./platform_tools/android/bin/android_gdb_native dm
+
+ # SAMPLE APP
+ # make sure you've installed the app on the device first
+ ./platform_tools/android/bin/android_gdb_app
When the gdb client is ready, insert a breakpoint, and continue to let the
program resume execution.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698