Your procedure sounds like it should work. But note you can debug the tests
from within Eclipse by doing a 'Debug As > Android JUnit test' operation.

Regards,
Brett.

On Thu, May 13, 2010 at 3:38 PM, plusminus <[email protected]> wrote:

> Hi guys,
>
> did anyone actually succeed in debugging AndroidTestCases?
>
> I have a test-suite I can successfully run either from the Eclipse or
> from the command.
> But as I add the debug flags like this:
> adb shell am instrument -w -e debug true org.anddev.andengine.test/
> android.test.InstrumentationTestRunner
>
> ... the test blocks (as expected) but I cannot connect the debugger
> from Eclipse =/
>
> In the DDMS Devices view I can see a new App being started (I can get
> the threads, heap and stuff!) which displays like this:
> ? ..... 17518 .... 8601/8700
>
> When i click the tiny green bug in the devices view where one usually
> attaches the debugger to a running app, just nothing happens.
>
> So I can't really figure out what I am doing wrong here =(
> (Can test be debugged right from inside of eclipse, without the
> commandline?)
>
> Best Regards,
> Nicolas
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

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

Reply via email to