go-delve / delve

Delve is a debugger for the Go programming language.
MIT License
22.37k stars 2.13k forks source link

proc: use .closureptr for stepping through range-over-func statements #3763

Open aarzilli opened 2 days ago

aarzilli commented 2 days ago

Uses special variables .closureptr and #yieldN to correctly identify the parent frame of a range-over-func body closure call.

Updates #3733