Skip to content

Instantly share code, notes, and snippets.

@AnnaMag
Created January 12, 2017 22:13
Show Gist options
  • Save AnnaMag/597cf119056a467232197e5d7054d609 to your computer and use it in GitHub Desktop.
Save AnnaMag/597cf119056a467232197e5d7054d609 to your computer and use it in GitHub Desktop.
finding Object properties in Node.js JS stack trace
# trying to find 'propBase' attached to the sandbox in test-vm-inherited_properties.js
# breakpoint set at CopyProperties
# inspecting the Object created at:
# frame #21: 0x00003bb3887f4dc5 Script.runInContext(this=0x000024c114b2b5a9:<Object: ContextifyScript>, 0x00001237d6e845f1:<Object: Object>, 0x00001b78a4782241:<undefined>) at vm.js:30:41 fn=0x0000334f80adda39
# Obviously Id's are run-specific;)
lldb -- ./node --perf-basic-prof test/known_issues/test-vm-inherited_properties.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment