How to start an android app with valgrind

前端 未结 3 1240
抹茶落季
抹茶落季 2020-12-02 13:55

I\'ve been searching for the last week trying to find an answer to this question.

How do I start an Android app with valgrind? I know I can start an app with the \'

3条回答
  •  我在风中等你
    2020-12-02 14:11

    yes, but you should use

    adb shell setprop wrap.com.example.hellojni "logwrapper ./data/local/Inst/bin/valgrind"
    /\----for shell (.) is important!!!

    also if you wish to use some configure of valgrind tool's - use this:

    adb shell setprop wrap.com.example.hellojni "logwrapper ./data/local/Inst/bin/valgrind --tool=massif (...configure massif a.t.c. ...)"

提交回复
热议问题