Debugger pausing on ignore listed files
I have a bunch of files (mainly minified libraries) that I have added to the ignore list. When I open these files in the Sources tab, there is a banner at the bottom telling me that This script is on the debugger's ignore list
Adding breakpoints to these files will pause execution, and also checking the pause on caught/uncaught exceptions breakpoint options will pause in these ignore listed files.
This is mainly an issue to me when I want to pause on exceptions in my own code, but the pausing is polluted by all my libraries throwing and catching exceptions all the time.
Edge version: Version 123.0.2420.81 (Official build) (64-bit)
Let me know if I can provide more info Thanks
AB#50057122
Thank you for filing.
Adding breakpoints to these files will pause execution,
I'm not clear here on whether this should occur or not. I'll take a deeper look in a minute.
checking the pause on caught/uncaught exceptions breakpoint options
This should definitely not happen.
I can confirm the first one is intentional: even when you add a script to the ignore list, manually setting breakpoints within that script will still trigger those breakpoints. Manual breakpoints override the ignore script setting.
I just tested the second one: "checking the pause on caught/uncaught exceptions breakpoint options", and things seem to work fine for me. When I add the script to the ignore list, and then select the options, script execution does not pause within the ignored script.
@royalone could you please check again and make sure this is broken on your end? And, if so, please provide a test that we can use to reproduce the issue locally.
Digging a bit deeper, it's the ignore list general exclusion rules, specifically Content scripts injected by extensions that doesn't seem to be working for me.
- Start with ignore listing enabled in settings, but no custom rules and no general rules
- Open a file in Sources tab, right click and
Add script to ignore list - Exceptions in this file will not pause execution as expected (this works fine)
- Open an extension file in Sources tab, right click and select
Add all extension scripts to ignore list - Banner pops up below for this and all extension files now stating that the script is on the debugger's ignore list
- Exceptions in these files will pause execution
Thanks for the additional investigation details. I'll make sure this issue shows up on our team's radar for prioritization.