Skip to content

Instantly share code, notes, and snippets.

@jbergstroem
Created March 2, 2015 02:47
Show Gist options
  • Save jbergstroem/6152543c934e5c2bfb25 to your computer and use it in GitHub Desktop.
Save jbergstroem/6152543c934e5c2bfb25 to your computer and use it in GitHub Desktop.
io.js/mdb on smartos
[admin@web01 ~/io.js]$ ./iojs test.js &
[1] 28065
[admin@web01 ~/io.js]$ mdb -p 28065
Loading modules: [ ld.so.1 libumem.so.1 libc.so.1 ]
> ::status
debugging PID 28065 (64-bit)
file: /home/admin/io.js/out/Release/iojs
threading model: native threads
status: stopped by debugger
> ::load v8
V8 version: 4.1.0.21
mdb: failed to read "v8dbg_AsciiStringTag": unknown symbol name
mdb: failed to autoconfigure from target; commands may have incorrect results!
C++ symbol demangling enabled
> ::jsstack
js: <anonymous> (as <anon>)
js: ??2
js: ??1
js: ??
js: <anonymous> (as <anon>)
(1 internal frame elided)
js: <anonymous> (as ???????e???
js: <anonymous> (as ???????????
js: <anonymous> (as ???????
js: <anonymous> (as ???????
js: <anonymous> (as ???????
js: ???p???
js: <anonymous> (as <anon>)
(1 internal frame elided)
(1 internal frame elided)
native: v8::internal::Execution::Call+0x153
native: v8::Function::Call+0xc7
native: node::LoadEnvironment+0x1e9
native: node::Start+0x41e
native: _start+0x6c
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment