square / PonyDebugger

Remote network and data debugging for your native iOS app using Chrome Developer Tools
Other
5.86k stars 595 forks source link

Inspect mode magnifying glass inaccessible in latest Chrome and Chrome Canary builds. #67

Open adamkangas opened 11 years ago

adamkangas commented 11 years ago

I've been running PonyDebugger 0.3.0 with no problems for weeks.

As of a few days ago I've been unable to access inspect mode as the magnifying glass has completely disappeared from the bottom left of Chrome Developer Tools when browsing iosml nodes in the Elements tab.

Not sure if this is a simple configuration problem on my end or if it's a problem in general, but I don't seem to have changed anything. Anyone in a similar position?

pony-chrome

Yincan commented 11 years ago

Got the same issue with Chrome Version 27.0.1453.93

ryanolsonk commented 11 years ago

I can confirm the issue but haven't had a chance to find a fix. The inspect mode still works in Safari.

If I remember correct, the inspector domain is a hidden domain, so it's possible for them to make breaking changes there. It is not part of the remote debugging protocol.

dtrukr commented 11 years ago

After upgrading to Mavericks 10.9 the inspect mode disappeared from Safari as well.

Looks like this last worked in devtools build 148849 and stopped working in the next build 148913. It may have something do with changes in inspector.js

Anyway, as a workaround you can replace devtools folder (~/Library/PonyDebugger/src/devtools) with this one: http://storage.googleapis.com/chromium-browser-continuous/Mac/148849/devtools_frontend.zip

KevinDEX commented 10 years ago

dtrukr, It's now almost a year later and this still looks like an issue.

I was able to fix it with your suggestion. Adds a REALLY useful feature to this awesome debugger. It's changing my life. Thanks for the fix! Seems like they should just be able to update their install script to pull a later version of devtools.

wlue commented 10 years ago

If we pull a later version of devtools, we will have to update the protocol and re-run the codegen. It's not a problem, but it requires a lot of testing. The later version of devtools might fix some problems, but break in other ways we don't know yet.

marcuswestin commented 10 years ago

I just tried the fix @dtrukr suggested, and it didn't work for me. I was really hoping to use pony instead of reveal, but it looks like a no-go :(

gardenofwine commented 9 years ago

I don't know if this is related, but I'm missing the UILabel text in inspect mode. In the README.md there is a screenshot of inspect mode where text from the application appears in the xml layout, and perhaps it is even editable.

However I don't see any texts/strings from my app appearing in inspect mode.