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 On Mon, Feb 2, 2009 at 8:09 PM, ying lcs <ying...@gmail.com> wrote: > > By following this: > > http://dtmilano.blogspot.com/2008/11/android-testing-on-android-platf.html > > I can run the unit test cases either by : > 1. command line ' adb shell am instrument -w > com.example.android.apis.tests/android.test.InstrumentationTestRunner' > 2. Go to 'Dev' and clicks 'Instrumentation' and click 'Test API Demo' > > But my questions now is, how can I debug my unit test cases? I try > 'Debug' my APIDemoTest eclipse project and then > do #2 above, it did not break at any of my breakpoints I setup. > > Thank you for any pointers > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---