Open gfarrell opened 9 years ago
same problem
I am getting these errors as well.
Update: I finally got some data from the PonyDebugger. The "unknown domain XXX" errors are responses from the iOS app and lists requestes Domains which are not activated on the app yet(or so it seems). When disabling and enabling networkDebugging, CoreDataDebugging, remoteLogging etc. the list of errors expands/shrinks.
let debugger = PDDebugger.defaultInstance()
debugger.enableCoreDataDebugging()
debugger.addManagedObjectContext(RKObjectManager.sharedManager().managedObjectStore.mainQueueManagedObjectContext)
debugger.enableNetworkTrafficDebugging()
debugger.forwardAllNetworkTraffic()
debugger.enableViewHierarchyDebugging()
debugger.enableRemoteLogging()
debugger.connectToURL(NSURL(string: "ws://myLAN-IP:9000/device"))
By using the above code i can now browse CoreData, but i still get no data on the networkDebugger and the viewHierarchyDebugger.
PonyDebugger is connected in my app, and shows up on the list of devices (it's running in the simulator). When I click on it, (as in, the interface shows up, but no data at all, not even the attempts I made at logging).
If I open the web inspector, and have a look at the console, I see .
and so on, all referencing
InspectorBackend.js:237
, which is in thereportProtocolError()
method.I'm initialising the debugger as follows in my AppDelegate:
As I said, in the XCode console I can see that it has connected, and in the pony gateway I can see the device listed, I just am not getting any data, and I have a feeling that the errors I posted a screenshot of above have something to do with it.