linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] Debug Linphone for Android.


From: Sylvain Berfini
Subject: Re: [Linphone-developers] Debug Linphone for Android.
Date: Fri, 24 Aug 2012 11:32:47 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120714 Thunderbird/14.0

Hello,

Yes you can use gdb using Eclipse, the DDMS perspective has all the tools needed to do this.
You can also convert SIGSEV traces to methods calls using ndk-stack tool.

Regards.

Sylvain Berfini
On 24/08/2012 10:38, Noemi Leon wrote:
Hello,

What I do is play with the Linphone code to understand how the mediastreamer filters work.  The Linphone code modified, when running, gives me a SIGSEV. When I print the log in Eclipse , with the debug mode in Settings ON, I see the registers info, the programm counter , the code that was beeing executed when the SIGSEV and the function that called that code. My problem is that the function that fails is a generic one, called by another generic one that can be called from many parts of the code.  

I would like to know wich part of my code is wrong. Till know I've tried to find which  is the sequence of functions  beeing executed, but I'm lost. Is there any way to do it? Is there a way to execute gdb with Linphone for Android?

Regards

2012/8/24 Sylvain Berfini <address@hidden>
Hi,

What do you mean by "when the program fails" ?
If there is an exception raised or an error in the linphone core, there should be a trace, debug mode enabled or not, either in error or in verbose output (depending if the error is in the Android application or in the core).

Regards.

Sylvain Berfini
On 24/08/2012 09:08, Noemi Leon wrote:
Hello all, 

I want to debug Linphone in Android. The verbose log enabled from the settings menu is not enough for me. What I want is to print the stack trace to know where the program fails. Is there any way to do it? Or is there any way to improve the debug?


Thanks in advance


_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers




_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


reply via email to

[Prev in Thread] Current Thread [Next in Thread]