inspectdev / inspect-issues

Issue tracker for Inspect
23 stars 2 forks source link

I'm getting 4 of every console message #44

Closed xrx101 closed 3 years ago

xrx101 commented 3 years ago

Steps to Reproduce:

  1. Plug device in
  2. "Inspect" it - open in Console
  3. Most messsages get collapsed and show once with a 4 in a blue circle, but when the log includes an object reference, you get 4 different lines. There are no exceptions, it's 4 of everything.
auchenberg commented 3 years ago

@xrx101 Thanks for reporting this. Would it be possible for you share an example of code triggering this behavior?

xrx101 commented 3 years ago

So sorry for not replying earlier as been away and switched off entirely (highly recommended).

After posting, I was at times plugging an iDevice in and inspecting and getting between 4 and 8 message duplications for consoles that should have only ever been produced once. It wasn't consistent at all, but 4 duplications happened more often than not. Even after rebooting a few times, I would get similar results.

Unfortunately I can't share the code that produces it because it is private IP, but I can tell you that it is a php/javascript application and for all testing of older iOS devices, we've used the remotedebug_ios_webkit_adapter and have never seen duplicate console messages.

Having returned from leave, I've just plugged in a number of devices and am not able to reproduce the issue. The code base hasn't changed at all and the version of inspect has not changed either.

Very strange, but at this point I think it maybe an isolated incident related to my setup. I'll raise a flag if it starts happening again, but I've been at it for about 4 hours now and seems fine.

auchenberg commented 3 years ago

@xrx101 Very interesting. What version of Inspect are you on? I just made a new release v0.6.5 which contained a range of fixes, that might have helped here.

If you get to reproduce again, and screenshot would be great!

auchenberg commented 3 years ago

Closing for now, but let's reopen if this happens again .