diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2012-05-17 10:09:22 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-05-17 16:32:32 +0300 |
commit | b58498fb57fc5ec30e539ba7c05d627ee99b9a8b (patch) | |
tree | 802e4e71c2b6d27324365b400aa4fd4e507110a9 /README.cross | |
parent | fdec471a7caca3b5065676e3f31aeaa91b0f238f (diff) |
Now with in-process redirection, the adb shell setprop thing is not needed
Change-Id: Ibfda0e6e65d0834cffdd95d4c6d87d07644088f6
Diffstat (limited to 'README.cross')
-rw-r--r-- | README.cross | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/README.cross b/README.cross index 3567a69afe30..63dc9cf48067 100644 --- a/README.cross +++ b/README.cross @@ -395,14 +395,12 @@ mechanism. Then to run the unit test, do "make install" followed by "make run". You most likely want to have an "adb logcat" running in another -window, and you probably also want to have set the stdout and stderr -of app processes to be redirected to logcat ("adb shell stop; adb -shell setprop log.redirect-stdio true; adb shell start"). - -To debug, do manually what "make run" would do, adding args "-e -lo-main-delay 20" to the command line, and when the app has started, -run ndk-gdb. Unfortunately the gdb in NDK r7 is broken, use the one in -the NDK build with newer versions of gcc and gdb from +window. + +To debug, do manually what "make run" would do, adding args "-e lo-main-delay +20" to the command line, and when the app has started, run +ndk-gdb. Unfortunately the gdb in NDK r7 and r8 is a bit broken, you can use +the one in a NDK build with newer versions of gcc and gdb from http://code.google.com/p/mingw-and-ndk/ instead. Running strace on the unit test in progress is often useful to find |