How can I source-level debugging in unit test caes in android under eclipse with ADT?

by Gavin Aiken » Sun, 15 Mar 2009 04:53:26 GMT


Sponsored Links
 Hi Ying,

Did you ever work out how to debug using adb shell am instrument? I can't
work out what the flag to allow this is.

Kind regards,

Gav





--~--~---------~--~----~------------~-------~--~----~



How can I source-level debugging in unit test caes in android under eclipse with ADT?

by Gavin Aiken » Sun, 15 Mar 2009 04:57:51 GMT


  http://developer.android.com/reference/android/test/InstrumentationTestRunner.html 
*
" To debug your tests, set a break point in your code and pass: -e debug
true
in addition to the other arguments. "*

Knew i'd read it somewhere!

Gav






--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Android 3.0 Wish List

I know some things I want.  I'd like a better NDK.  I'd like better
Windows support for NDK developers.

Ship Cygwin with it if you have to.

I'd like Android 3.0's bionic to be way too strong to run on a G1. I'd
like it to be a lot closer to standard Linux, just still better.

I'd like it if my private static variables didn't unexpectedly become
null.

I'd also like for Google to respond, officially, to yesterday.  I'd
like for us, the AOSP developer community to stay ahead of the curve.

And I want a good Android netbook, with a standard but large screen
size, that can run games written for PCs in 1998.

What do you all want?  Which way do you think we should steer Android?

-- 

2. Build Source on Windows

Hi all,

As i know Android source can not be build on Windows. Cant we work that on
windows too like its on Mac. Why is this can not build on windows? what are
the barriers? if there is anyone who is aware of this issue please let me
know what we have to do to build this on windows. i would like to contribute
to make this build-able on windows...

Thank You

-- 
Thanks & Regards,
Thisara.

-- 

3. Help.. Nexus1 NewBie

4. K9 ga bs send mail

5. Doubts while doing app's with graphics

6. urgent help Integrating code with Android home screen code.

7. IP Adress of android device