Not hitting breakpoints debugging Android Junit tests in Eclipse -


There is an error running the Android unit test that extends to ActivityInstrumentationTestCase2, and therefore want to try and debug the exam Although the breakpoint is being ignored and debugged as an Android Junich Test, it gets running tests ...

There is a console log:

  [2011-03-16 17:02:54 - APPNAM] Android launches Instrumentation Test. Extension: Tutoran on device [My device ID here] [2011-03-16 17:02:55 - APInam] Examination information collected [2011-03-16 17:02: 55 - AppName] Test run fail: Process crashes Done [2011-03-16 17:02:55 - AppName] Trial of exams [2011-03-16 17:02:56 - sending test related information to AppName] Eclase [2011-03-16 17:02:56] - AppName] Testing in progress ...   

Any ideas?

It should look like this:

  [2011-03- 15 22:46:12 - Temperatures researcher] Collecting information about examinations [2011-03-15 22:46:13 - Temperature researcher] Send examination related information to Eclipse [2011-03-15 22:46:13 - Temperature Tester Test] Test Playing ... ** [2011-03-15 22:46:14 - Temperature MonitoringTest] Trying to connect to the debugger for 'com.example.aatg.tc' on port 8654. [2011-03-15 22:46:31 - Temperature Controller Test] Test Run End   

Note that your test debugger is already crashing before it is connected. There may be a problem with your constructor.

Comments