开发者

Where is the "stack tool" for android dev? (to help debug native c++ code)

开发者 https://www.devze.com 2023-01-16 08:41 出处:网络
I am writing an android game that involves some c++. I have a fairly开发者_开发技巧 repeatable crash that seems to be due to my c++ code

I am writing an android game that involves some c++.

I have a fairly开发者_开发技巧 repeatable crash that seems to be due to my c++ code

Looking at the page: http://source.android.com/porting/debugging_native.html#Debug_Scenarios (right at the end)

it says to run the output through the "stack tool" - which I can find no trace of.. nor aproto.


I think they're referring to this:

http://code.google.com/p/android-ndk-stacktrace-analyzer/

Don't feel bad about not finding it; it took a lot of searching to track it down the first time. :)


OK - not the nice clean solution Im looking for, but: http://osdir.com/ml/AndroidDevelopers/2009-04/msg00492.html addr2line - lets me see where Im crashing, in my main loop!

I think I'm not being thread safe...


http://groups.google.com/group/android-developers/browse_thread/thread/73f89bb8739c24bb/5228e7a5dcfff090?lnk=gst&q=stack+tool#5228e7a5dcfff090

It seems the stack tool is an internal google tool (despite being in public docs...)


In most cases, the docs seem to be referring to the ndk-stack tool (even though they call it "the stack tool").

0

精彩评论

暂无评论...
验证码 换一张
取 消