On Thu, Sep 6, 2012 at 9:13 AM, Goddy Zhao <
godd...@gmail.com> wrote:
> I wanna dive into the node, so I enable --gdb when run the configure script
> in this way:
>
> ./configure --prefix install/path --gdb
>
> And then make it.
>
> I can use node app.js , but when I try to debug it with gdb node , there is
> error like
>
> ../src/node_main.cc no such file
>
> Any guys know how to debug node itself? Thanks!
`make node_g` compiles a debug build (assuming you're building v0.8).
The --gdb switch is supposed to compile V8 with gdbjit support but
that's horribly broken so it's disabled.