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. |