New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 755638 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
not available
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Feature



Sign in to add a comment

Add support for debugging junit test targets

Project Member Reported by nyquist@chromium.org, Aug 15 2017

Issue description

Currently there is no easy way to be able to attach a debugger (for example from Android Studio) to the junit tests targets, as there is no support for --wait-for-debugger in the generated scripts in out/.../bin/run_foo_junit_tests.

It would be great if those targets worked as other targets.

This was recently discussed in the following thread on chromium-dev@:
https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/mm_68bVKf0M/discussion

That also links to documentation (possibly outdated) for how to do this using Eclipse and setting up a Run-project manually:
https://chromium.googlesource.com/chromium/src/+/master/docs/eclipse.md#Run-Robolectric-JUnit-tests
 
Cc: baxley@chromium.org yolandyan@chromium.org
Status: Available (was: Untriaged)
Cc: -yolandyan@chromium.org
Owner: yolandyan@chromium.org
I can try to take this, I managed before to attach a debugger to integration tests to device, so supposedly this should easier. However I won't be able to work on this until at least q4.
Status: Assigned (was: Available)

Sign in to add a comment