Bug 241495 - Web Inspector: Ignore blocks, function or line of code in Sources when debugging
Summary: Web Inspector: Ignore blocks, function or line of code in Sources when debugging
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: Safari Technology Preview
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-06-09 17:08 PDT by Karl Dubost
Modified: 2022-06-28 12:38 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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