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. Java classes not inclded in android



You can't, generally speaking.


Probably not. The Dalvik tools complain if you attempt to add java.*
and javax.* classes to your project.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android 2.2 Programming Books: http://commonsware.com/books

-- 

2. AndroidHttpClient documentation error - no ability to add interceptor

The documentation mention that AndroidHttpClient subclass
DefaultHttpClient while it implements HttpClient. Furthermore, it says
that it gives the ability to users to add interceptors which is not
the case. Currently implementing my own until fixed.

Thanks,
Carl

-- 

3. A problem regarding Alarm Clock application in Android

4. dream radio image for froyo

5. Interactive Touchscreen plays sounds twice

6. Free version or not?

7. gralloc: Out of Memory using VFB