Debuggability of lambdas

Staffan Larsen staffan.larsen at
Mon Jan 19 11:21:08 UTC 2015

Thank you Maurizio. Yes, the 'map’ variable should be left alone. I don’t see how we can (or should) solve that problem.

I should perhaps have mentioned that my interest in this was sparked by a blog post [1] and hacker news item [2].



> On 19 jan 2015, at 12:04, Maurizio Cimadamore <maurizio.cimadamore at> wrote:
> Hi Staffan,
> I found myself similar problems when trying to debug lambdas, I think your proposal seems very reasonable - and pretty much in line with what it's done i.e. inside anonymous classes which capture local variables from the enclosing scope. By analogy with that example, I'd say that variables such as your 'map' should be left alone?
> Maurizio
> On 19/01/15 10:46, Staffan Larsen wrote:
>> I would like to get some feedback on my comments in a bug about how we can improve the debuggability of lambdas. Please take a look at: <>
>> Thanks,
>> /Staffan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the compiler-dev mailing list