[android-developers] Re: problem when debugging android application with eclipse

2009-05-21 Thread Daliang Luo
Hi Raphael,
Can you hear me ...

2009/5/18 Daliang Luo 

>
> Hi Raphael,
> I try what you have said tonight and it seems like eclipse has connected to
> emulator. And I can see the logs coming out, but eclipse still reminds me
> error:
>
> Exception in thread "main" java.lang.UnsatisfiedLinkError:
> android.os.process.setArgV0[Ljava/lang/String;]V
> at android.os.process.setArgV0(Native.Method)
> at android.app.Activity Thread.main(ActivityThread.java:3753)
> I guess this is not mistake about my source code but some thing about my
> debugging environment. Is there any thing I haven't concern with?
>
> Thanks again. :-)
>
> Nio
>
> 2009/5/17 Raphael 
>
>>
>> Are you talking about the DDMS perspective or the standalone DDMS?
>>
>> If you use eclipse, do not use the standalone DDMS program, use the
>> DDMS perspective from within Eclipse.
>> If you do that you do not need to manually select the program in the
>> DDMS process list, the Eclipse plugin can automatically stop at
>> breakpoints that you set in Eclipse. Just make sure you start your
>> session using one of the Run > Debug option (if you select Run > Run,
>> it won't stop on breakpoints.)
>>
>> R/
>>
>> On Thu, May 14, 2009 at 10:15 PM, Nio  wrote:
>> >
>> > Hi there,
>> > I am trying to debug android source code with ecliplse. And I can see
>> > that eclipse has connect to emulator via ddms. And I can see the log
>> > coming out from eclipse, but when I select an process in DDMS, and
>> > trying to debug the process, process can't stop on the breakpoint I
>> > have set.
>> >
>> > I think there might be some thing incorrect somewhere. Can anybody
>> > give some advice?
>> > Thanks.
>> >
>> > Nio
>> > >
>> >
>>
>> >>
>>
>
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[android-developers] Re: problem when debugging android application with eclipse

2009-05-18 Thread Daliang Luo
Hi Raphael,
I try what you have said tonight and it seems like eclipse has connected to
emulator. And I can see the logs coming out, but eclipse still reminds me
error:

Exception in thread "main" java.lang.UnsatisfiedLinkError:
android.os.process.setArgV0[Ljava/lang/String;]V
at android.os.process.setArgV0(Native.Method)
at android.app.Activity Thread.main(ActivityThread.java:3753)
I guess this is not mistake about my source code but some thing about my
debugging environment. Is there any thing I haven't concern with?

Thanks again. :-)

Nio

2009/5/17 Raphael 

>
> Are you talking about the DDMS perspective or the standalone DDMS?
>
> If you use eclipse, do not use the standalone DDMS program, use the
> DDMS perspective from within Eclipse.
> If you do that you do not need to manually select the program in the
> DDMS process list, the Eclipse plugin can automatically stop at
> breakpoints that you set in Eclipse. Just make sure you start your
> session using one of the Run > Debug option (if you select Run > Run,
> it won't stop on breakpoints.)
>
> R/
>
> On Thu, May 14, 2009 at 10:15 PM, Nio  wrote:
> >
> > Hi there,
> > I am trying to debug android source code with ecliplse. And I can see
> > that eclipse has connect to emulator via ddms. And I can see the log
> > coming out from eclipse, but when I select an process in DDMS, and
> > trying to debug the process, process can't stop on the breakpoint I
> > have set.
> >
> > I think there might be some thing incorrect somewhere. Can anybody
> > give some advice?
> > Thanks.
> >
> > Nio
> > >
> >
>
> >
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[android-developers] Re: problem when debugging android application with eclipse

2009-05-16 Thread Raphael

Are you talking about the DDMS perspective or the standalone DDMS?

If you use eclipse, do not use the standalone DDMS program, use the
DDMS perspective from within Eclipse.
If you do that you do not need to manually select the program in the
DDMS process list, the Eclipse plugin can automatically stop at
breakpoints that you set in Eclipse. Just make sure you start your
session using one of the Run > Debug option (if you select Run > Run,
it won't stop on breakpoints.)

R/

On Thu, May 14, 2009 at 10:15 PM, Nio  wrote:
>
> Hi there,
> I am trying to debug android source code with ecliplse. And I can see
> that eclipse has connect to emulator via ddms. And I can see the log
> coming out from eclipse, but when I select an process in DDMS, and
> trying to debug the process, process can't stop on the breakpoint I
> have set.
>
> I think there might be some thing incorrect somewhere. Can anybody
> give some advice?
> Thanks.
>
> Nio
> >
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---