logoalt Hacker News

tlb06/16/20252 repliesview on HN

I don't have this problem with backtraces in Clang. The 'anonymous' lambdas have debugging symbols named after the function it lexically appears in, something like parent_function::$_0::invoke. $_0 is the first lambda in that function, then $_1, etc. So it's easy enough to look up.


Replies

lenkite06/16/2025

This. I was confused when I read that - I guess MSVC doesn't generate such conventional lambda names ?

show 1 reply
psyclobe06/17/2025

Oh that’s nice, wish gcc did that