Last active
August 29, 2015 14:17
-
-
Save ml242/5d75082d9a12e4e837c5 to your computer and use it in GitHub Desktop.
debugging io-js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% git clone https://github.com/thlorenz/iojs-inspect-entire-stack | |
brew install ninja | |
// helpfull tip todebug: | |
SIGTERM flushAll() // get an exit code | |
flags: | |
"iojs --perf-basic-prof app.js" | |
gdb-jit generates more detailed jit info for debuggers // doesn't work | |
resolve-jit-symbols: library from thlorenz to debug | |
bsd/osx inspectors: | |
dtrace | |
dtruss // gui for dtrace | |
execsnoop | |
opensnoop | |
iosnoop | |
rwsnoop | |
gbd/idlb | |
many more man -k dtrace | |
cat stack.txt | rjs <pid> | |
iLDB | |
chrome://tracing/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment