On Thu, Sep 6, 2012 at 9:13 AM, Goddy Zhao <[email protected]> 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. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
