Bug 263915

Summary: Web Inspector: Reduce the number of steps for logging a variable in Sources
Product: WebKit Reporter: Karl Dubost <karlcow>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: inspector-bugzilla-changes, rcaliman, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 17   
Hardware: All   
OS: All   
Attachments:
Description Flags
steps to add a logging point none

Description Karl Dubost 2023-10-30 13:16:04 PDT
Created attachment 468415 [details]
steps to add a logging point

1. Go to Apple.com with STP 181
2. Open the Web Inspector
3. Go to the Sources tab
4. Add a logging breakpoint to know the values in the console.

It takes a lot of steps to just add Logging (which is a special case of breakpoints)
see the attachment

Keeping this feature is good in the sense we can customize it, but we need something which is slightly faster too. 
It would be practical to be able to have a faster to that form where we just want a logging point.
Comment 1 Radar WebKit Bug Importer 2023-10-30 13:16:24 PDT
<rdar://problem/117702090>
Comment 2 Razvan Caliman 2023-10-31 10:48:01 PDT
This is basically a shortcut for: Add breakpoint -> Edit breakpoint -> click “Add Action” button -> select action “Log Message” -> enable “Automatically continue after evaluating”