JakeWharton / scalpel

A surgical debugging tool to uncover the layers under your app.
Apache License 2.0
2.76k stars 231 forks source link

Request : make a desktop version #17

Closed AndroidDeveloperLB closed 10 years ago

AndroidDeveloperLB commented 10 years ago

I think it will be much cooler to use on the PC (like the tool on DDMS) instead of the device itself.

Please make it happen somehow. Maybe you could even add features that the DDMS tool doesn't have.

JakeWharton commented 10 years ago

Use this: http://www.sriramramani.com/droidinspector/

I have neither the time, energy, or desire to do this myself.

AndroidDeveloperLB commented 10 years ago

It's actually a cool tool, but why does it need a jar in the project, while DDMS doesn't?

JakeWharton commented 10 years ago

That would be a question for them. I've never used it.

AndroidDeveloperLB commented 10 years ago

I see. Is it possible that you make your app work from outside (using Root if needed) ? For example, we could have your app work on the notification or a floating view, and when chosen, it could check the currently foreground app for its layers.

JakeWharton commented 10 years ago

No. It can only operate on a view hierarchy that it can directly inspect and hook in to the draw path of.

AndroidDeveloperLB commented 10 years ago

I see. Is it possible though?

JakeWharton commented 10 years ago

Not unless you bake it into the OS

Dzakus commented 10 years ago

http://repo.xposed.info/module/pl.com.android.scalpel.inject ;-) Need xposed, work without need recompile app etc.

AndroidDeveloperLB commented 10 years ago

@Dzakus wait, so there is a way to do it all without any jar? i already have Xposed. How well does it work? How do you make it work? Looks really interesting...

Dzakus commented 10 years ago

@AndroidDeveloperLB , yes, because my module inject a scalpel in every apps. More precisely is somewhere behind RootView. You can watch it deeper using DDMS

AndroidDeveloperLB commented 10 years ago

@Dzakus So cool! Thanks.

AndroidDeveloperLB commented 10 years ago

@Dzakus How do you close the app? it keeps floating...

Dzakus commented 10 years ago

http://img.bhs4.com/ae/a/aeac12980d045c785120fe374f4d4fd5e9089ea1_large.jpg or open module and disable "start Service".

AndroidDeveloperLB commented 10 years ago

@Dzakus such a thing should be inside the app itself. people aren't supposed to go to the manage app settings and then close it forcefully, plus the app can keep returning on some cases. I also wonder if the app can keep running when the memory is low, since it doesn't use a foreground service (or so it seems).

JakeWharton commented 10 years ago

Guys, this isn't the best place for this discussion.

AndroidDeveloperLB commented 10 years ago

Ok sorry Jake and thanks for the help.

Is it possible to do PM here?

JakeWharton commented 10 years ago

No. But I'm sure the Xposed project has mailing lists and an issue tracker of its own.

AndroidDeveloperLB commented 10 years ago

The Xposed project website is only for the framework.

Anyway, it is far from this topic, so thanks for helping where you can.

Dzakus commented 10 years ago

If you want then you can contact the creator of the module on the XDA. Nick on repo = Nick on XDA.

AndroidDeveloperLB commented 8 years ago

The http://www.sriramramani.com/droidinspector/ website is gone. :(