Bug 292821

Summary: debug_ipint.py lldb extension does not always correctly display the current instruction
Product: WebKit Reporter: Vassili Bykov <v_bykov>
Component: Tools / TestsAssignee: Vassili Bykov <v_bykov>
Status: RESOLVED FIXED    
Severity: Enhancement CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Vassili Bykov
Reported 2025-05-10 10:42:32 PDT
The extension finds the current instruction by matching the current PC location against the load addresses of breakpoints set at instruction entry points by the 'set_breakpoints' command. However, if the user issues 'set_breakpoints' at the start of the debug session, before actually starting the program, the breakpoints are not yet resolved and the 'breakpoint_locs' array is populated with invalid addresses. In that case, current instruction is not displayed for the rest of the debug session. A patch will follow to address this.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-05-10 10:50:18 PDT
Vassili Bykov
Comment 2 2025-05-10 11:20:53 PDT
EWS
Comment 3 2025-05-11 06:59:44 PDT
Committed 294765@main (1b9c41dab201): <https://commits.webkit.org/294765@main> Reviewed commits have been landed. Closing PR #45209 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.