• 请不要在回答技术问题时复制粘贴 AI 生成的内容
NGPONG
V2EX  ›  程序员

使用 Chrome 调试的 debug 的过程中,如何不让断点跳到一些内核级的 JS 文件当中去

  •  
  •   NGPONG ·
    NGPONG · Dec 1, 2019 · 3198 views
    This topic created in 2530 days ago, the information mentioned may be changed or developed.

    举个简单的栗子,比如说用 jquery 的 post,在函数结束后继续按 F10 还是会跳到 jquery 里面去

    6 replies  •  2019-12-02 11:42:23 +08:00
    Austaras
    Austaras
    Dec 1, 2019
    1
    firefox 有源文件黑箱化的设置, 不用 chrome 不懂
    weixiangzhe
    weixiangzhe
    Dec 1, 2019
    2
    再你想要测的那个地方再打一个断点,直接释放之后自动断点到你要的那个位置就可以了,没有人说只能打一个断点啊
    Delon
    Delon
    Dec 1, 2019
    3
    Chrome 78 在 JS 文件内容中右键有:Blackbox Script,新技能 Get
    liajoy
    liajoy
    Dec 2, 2019❤️1
    4
    firefox:Debugger 下文件内容右键 Blackbox Source
    chrome:Sources 下文件内容右键 Blackbox Script
    hive
    hive
    Dec 2, 2019❤️1
    5
    上面看不明白的话,搜索关键词:chrome/firefox 黑箱
    kiracyan
    kiracyan
    Dec 2, 2019
    6
    我怎么记得可以 filter
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1631 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 53ms · UTC 18:05 · PVG 02:05 · LAX 10:05 · JFK 13:05
    ♥ Do have faith in what you're doing.