Live data from Hacker News

Stetho: A new debugging platform for Android

code.facebook.com

1–10 of 26 posts

Re: Stetho: A new debugging platform for Android

#2
This looks really neat! As the post suggests, we also have been doing a lot of janky Log calls to debug our app's network code.

I am really impressed by a lot of the Facebook open source releases. Each new one makes me even sadder that you can't use them due to the crazy patent license they've started using:

https://github.com/facebook/stetho/blob/master/PATENTS

"The license granted hereunder will terminate, automatically and without notice, for anyone that makes any claim (including by filing any lawsuit, assertion or other action) alleging [...] that any right in any patent claim of Facebook is invalid or unenforceable."

Re: Stetho: A new debugging platform for Android

#4
PhoneGap has some debugging tools available that offer a similar approach: https://github.com/phonegap/phonegap/wiki/Debugging-in-Phone...

They've saved me a ton of time. Especially when you're using something like PhoneGap, where you're coding in JS, it's nice to have your old familiar web-based debugging console available.

Re: Stetho: A new debugging platform for Android

#5
post #2

This looks really neat! As the post suggests, we also have been doing a lot of janky Log calls to debug our app's network code. I am really impressed by a lot of the Facebook open source releases. Each new one makes me even sadder that you can't use them due to the crazy patent license they've started using: https://github.com/facebook/stetho/blob/master/PATENTS "The license granted hereunder will terminate, automati…

I was going to write a rebuttal saying that it's unlikely that any of this specific Software [Stetho] is covered by patent claims, so it wouldn't matter if you lost the license to Facebook's patents.

But then I saw this: http://stks.freshpatents.com/Facebook-Inc-nm1.php

314 patents in 2014, 69 just since the start of 2015. That's... just absurd.

Re: Stetho: A new debugging platform for Android

#6
post #2

This looks really neat! As the post suggests, we also have been doing a lot of janky Log calls to debug our app's network code. I am really impressed by a lot of the Facebook open source releases. Each new one makes me even sadder that you can't use them due to the crazy patent license they've started using: https://github.com/facebook/stetho/blob/master/PATENTS "The license granted hereunder will terminate, automati…

[deleted]

Re: Stetho: A new debugging platform for Android

#7
Ah and I had just finally coughed up 50 dollars for my Charles license. Charles is a nice tool, but this seems so much nicer as I don't see anywhere that the user is required to setup a proxy manually on the phone.

This does make me wonder how their HTTP debugging works? I am assuming that data is passed over USB. Are they using ADB underneath this all?

Re: Stetho: A new debugging platform for Android

#8
post #7

Ah and I had just finally coughed up 50 dollars for my Charles license. Charles is a nice tool, but this seems so much nicer as I don't see anywhere that the user is required to setup a proxy manually on the phone. This does make me wonder how their HTTP debugging works? I am assuming that data is passed over USB. Are they using ADB underneath this all?

It uses the same mechanism that Chrome dev tools remote debugging uses which is a local websocket server accessed over adb. [1][2]

[1]https://github.com/facebook/stetho/blob/master/stetho/src/ma...

[2]https://developer.chrome.com/devtools/docs/remote-debugging

Re: Stetho: A new debugging platform for Android

#9
post #7

Ah and I had just finally coughed up 50 dollars for my Charles license. Charles is a nice tool, but this seems so much nicer as I don't see anywhere that the user is required to setup a proxy manually on the phone. This does make me wonder how their HTTP debugging works? I am assuming that data is passed over USB. Are they using ADB underneath this all?

[deleted]

Re: Stetho: A new debugging platform for Android

#10
post #5
post #2

This looks really neat! As the post suggests, we also have been doing a lot of janky Log calls to debug our app's network code. I am really impressed by a lot of the Facebook open source releases. Each new one makes me even sadder that you can't use them due to the crazy patent license they've started using: https://github.com/facebook/stetho/blob/master/PATENTS "The license granted hereunder will terminate, automati…

I was going to write a rebuttal saying that it's unlikely that any of this specific Software [Stetho] is covered by patent claims, so it wouldn't matter if you lost the license to Facebook's patents. But then I saw this: http://stks.freshpatents.com/Facebook-Inc-nm1.php 314 patents in 2014, 69 just since the start of 2015. That's... just absurd.

It wouldn't matter if this was covered or not. Their license is saying that you can use their stuff as long as you don't question any of their patents.
Post reply on HN