Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

How to identify closures #3

Open
OrangeDog opened this Issue · 3 comments

2 participants

@OrangeDog

Maybe get some input from @fgnass too?

Trying to debug a memory leak, and its only retainer is marked (closure). Unfortunately there are hundreds of anonymous functions and callbacks in my code. How could I go about labelling them (or getting v8 to label them) without manually re-writing the whole thing?

@felixge
Owner

I could be wrong, but I think you need to name them.

@OrangeDog

Tried a quick sed to replace function( with function file_line(, but it didn't show up in the profiler.

@ghost

I cannot see the profiler tab... my environment is:
nodev0.6.13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.