Chrome DevTools script blackboxing not working

后端 未结 3 383
忘了有多久
忘了有多久 2021-02-05 02:12

I am trying to use the new feature of chrome devtools \"blackboxing a script\".
This Chrome Devtools article lists script blackboxing functionality

What happens w

相关标签:
3条回答
  • 2021-02-05 02:40

    I had the same issue. One quick and easy way is to look at your Call Stack. As a for instance, Right-Click on one of the 'jquery' functions and select 'black box' from the menu. Nothing else needed. In this example jquery.js will be step-over from that point on.

    0 讨论(0)
  • 2021-02-05 02:50

    In your screenshot, I can see a breakpoint.

    If you put a breakpoint, it will always break (except if you deactivate it, of course), even with blackboxing being active.

    0 讨论(0)
  • 2021-02-05 02:54

    Had the same issue and used good old

    have you tried turning it off and on again?

    Go to developer tools settings -> Blackboxing -> Remove all entries one by one + disable Blackbox content scripts

    Blackboxed again and after that this works fine.

    0 讨论(0)
提交回复
热议问题