{"action":"created","issue":{"url":"https://api.github.com/repos/appium/droiddriver/issues/20","labels_url":"https://api.github.com/repos/appium/droiddriver/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/appium/droiddriver/issues/20/comments","events_url":"https://api.github.com/repos/appium/droiddriver/issues/20/events","html_url":"https://github.com/appium/droiddriver/issues/20","id":57650703,"number":20,"title":"Make debugging workflow smooth","user":{"login":"ddkjin","id":10814655,"avatar_url":"https://avatars.githubusercontent.com/u/10814655?v=3","gravatar_id":"","url":"https://api.github.com/users/ddkjin","html_url":"https://github.com/ddkjin","followers_url":"https://api.github.com/users/ddkjin/followers","following_url":"https://api.github.com/users/ddkjin/following{/other_user}","gists_url":"https://api.github.com/users/ddkjin/gists{/gist_id}","starred_url":"https://api.github.com/users/ddkjin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddkjin/subscriptions","organizations_url":"https://api.github.com/users/ddkjin/orgs","repos_url":"https://api.github.com/users/ddkjin/repos","events_url":"https://api.github.com/users/ddkjin/events{/privacy}","received_events_url":"https://api.github.com/users/ddkjin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/appium/droiddriver/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-13T20:36:16Z","updated_at":"2015-02-13T20:48:41Z","closed_at":null,"body":"I could debug into droiddriver when using it as an Android library (aar) from Maven (using local maven repo since it's not released yet).\r\n\r\nI just need to change the dependencies to:\r\n    androidTestCompile 'io.appium:droiddriver:1.0.0-SNAPSHOT'\r\n\r\nI could step into and set breakpoints in droiddriver. However there are two nits:\r\n1. The source jar is not attached by default by Android Studio. I had to manually attach it. I suppose this can be fixed in Maven metadata in build.gradle. Please help.\r\n2. Breakpoints in com.google.android.droiddriver.runner.TestRunner do not work, whether I start debugging from Android Studio, or start from command line (adb shell am instrument -e debug true -w com.google.android.droiddriver.manualtest/com.google.android.droiddriver.runner.TestRunner) then attach debugger from the Android Studio \"Run\" menu. I have no idea and suspect this is a bug in Android Studio."},"comment":{"url":"https://api.github.com/repos/appium/droiddriver/issues/comments/74324325","html_url":"https://github.com/appium/droiddriver/issues/20#issuecomment-74324325","issue_url":"https://api.github.com/repos/appium/droiddriver/issues/20","id":74324325,"user":{"login":"bootstraponline","id":1173057,"avatar_url":"https://avatars.githubusercontent.com/u/1173057?v=3","gravatar_id":"","url":"https://api.github.com/users/bootstraponline","html_url":"https://github.com/bootstraponline","followers_url":"https://api.github.com/users/bootstraponline/followers","following_url":"https://api.github.com/users/bootstraponline/following{/other_user}","gists_url":"https://api.github.com/users/bootstraponline/gists{/gist_id}","starred_url":"https://api.github.com/users/bootstraponline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bootstraponline/subscriptions","organizations_url":"https://api.github.com/users/bootstraponline/orgs","repos_url":"https://api.github.com/users/bootstraponline/repos","events_url":"https://api.github.com/users/bootstraponline/events{/privacy}","received_events_url":"https://api.github.com/users/bootstraponline/received_events","type":"User","site_admin":false},"created_at":"2015-02-13T20:48:41Z","updated_at":"2015-02-13T20:48:41Z","body":"We might need [a plugin](https://github.com/xujiaao/AARLinkSources) to work around the [bug](https://groups.google.com/forum/#!searchin/adt-dev/javadoc/adt-dev/yVPo71O_ZKM/q4LzRL1eockJ) if it's still an issue."}}