Add more descriptive text around app starting.
Test: NA
Change-Id: If3bcf060b11ec08835863236b0a1408aebe43355
diff --git a/libc/malloc_debug/README.md b/libc/malloc_debug/README.md
index c4ee722..a8289b3 100644
--- a/libc/malloc_debug/README.md
+++ b/libc/malloc_debug/README.md
@@ -637,6 +637,19 @@
adb shell setprop wrap.com.google.android.googlequicksearchbox '"LIBC_DEBUG_MALLOC_OPTIONS=backtrace logwrapper"'
adb shell am force-stop com.google.android.googlequicksearchbox
+If you are setting multiple options and the app does not appear to start
+properly, check the logcat looking for this message
+(`adb logcat -d | grep "malloc debug"`):
+
+ 08-16 15:54:16.060 26947 26947 I libc : /system/bin/app_process64: malloc debug enabled
+
+If you do not see this message, then the wrap property was not set correctly.
+Run:
+
+ adb shell getprop | grep wrap
+
+And verify that any spaces are properly escaped.
+
NOTE: On pre-O versions of the Android OS, property names had a length limit
of 32. This meant that to create a wrap property with the name of the app, it
was necessary to truncate the name to fit. On O, property names can be