There's no generic C/C++ facility for that -- it would be system-
specific (if it exists at all).

On Nov 23, 3:45 am, "A.TNG" <tang.j...@gmail.com> wrote:
> Hi All,
>
> When I debug android app, if I work with Java, I can use Log.d("TAG",
> "xxxx", new Throwable()) to print backtrace of Java code. This is
> really handy for me to find bugs. But when I work with native library
> (e.g. libwebcore.so), there seems no way to print backtrace in
> runtime. The only way to debug native code is use gdbserver.
>
> I have a question. Is there any way to print backtrace in C/C++? If
> you have any idea, please share with me. Thanks a lot.
>
> --
> Regards,
> Jiyu

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to