Bug 241495

Summary: Web Inspector: Ignore blocks, function or line of code in Sources when debugging
Product: WebKit Reporter: Karl Dubost <karlcow>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: All   
OS: All   

Description Karl Dubost 2022-06-09 17:08:34 PDT
Summary:
Ignore blocks of code and/or logical functions in Sources tab

Steps To Reproduce:
1. Open a website
2. Open Web Inspector on the Sources tab
3. Put a breaking point
4. Use Step by step until you reach an area with a for loop with an Array with a lot of values. 

Results:
Usually, you would need to set a new breakpoint after the for loop. Then click on Resume to pass the loop. 
But with a contextual menu on the block code, it would be cool to choose to set a flag to ignore this specific block, or line or function, The step by step would then jump after the block, line or function (still executing it). That would allow to be able once the page is reloaded to not have to reset again a breaking point for the specific  block we want to jump.


rdar://94686485