V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
NGPONG
V2EX  ›  程序员

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

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