Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jlebar
on May 15, 2016
|
parent
|
context
|
favorite
| on:
Lambda expression comparison between C++11, C++14 ...
> You state what variables are being captured by just using them in the lambda body.
Wow, have you never spent a week debugging a JavaScript memory leak?
masklinn
on May 15, 2016
[–]
No. What I have done on the other hand was add unused lexical variables to an anonymous function so the runtime wouldn't optimise them out of the closure and I could still see them in the debugger.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Wow, have you never spent a week debugging a JavaScript memory leak?