inspectdev / inspect-issues

Issue tracker for Inspect
22 stars 2 forks source link

Code area is not refreshed, version 0.7.7 #118

Closed zxerqw closed 2 years ago

zxerqw commented 2 years ago

It was working fine before 0.7.7, when I placed a breakpoint I needed to refresh the page to make it work(ctrl+r), but it only refreshed the page on the phone, not the code area at the same time image

auchenberg commented 2 years ago

@zxerqw Not sure I understand. Is the problem that the loaded scripts don't show up under Sources anymore? What device, iOS version and target are you trying to debug? Does the Console and Elements work?

zxerqw commented 2 years ago

No, the script displays properly the first time, but when I use ctrl+r to refresh it, it doesn't refresh, but the phone's interface does, and it used to be able to refresh both.

auchenberg commented 2 years ago

@zxerqw Very interesting. Would it be possible for you to outline the specific steps on how to reproduce? I can't here.

zxerqw commented 2 years ago

version 0.7.6 with safari works fine Animation version 0.7.7 with third party app: 11

The problem is like Gif 2, once I refresh, the code area disappears or gets stcuk(no such problem below version 7.7), I need to select the page again, I think this problem is in the ios third party app internal page, I tried safari is no problem.

I'm not sure my description will allow you to reproduce the problem.

auchenberg commented 2 years ago

@zxerqw Thanks for the GIFs! 🔥 What kind of target are you debugging? Safari? UIWebView? WKWebView?

zxerqw commented 2 years ago

I emailed you the details

auchenberg commented 2 years ago

@zxerqw I think I found the issue. A new release of Inspect is building right now.

Try to download the newest build in like 30-45min, and let me know if this fixes it for you.

auchenberg commented 2 years ago

https://inspect.dev/changelog/v0.7.8-fixes-broken-breakpoints

zxerqw commented 2 years ago

@auchenberg works for me, thanks for the quick fix!

auchenberg commented 2 years ago

Glad we got that woking!