>From debugger you have an option to 1) break on next js statement 2) enable statistical profiler (and later analyse with v8.log tick processor what functions are repeatedly executed)
On Thursday, 19 September 2013 15:11:00 UTC+10, Vivek Goel wrote: > > But that will not give stack trace of all current callbacks. > I need to attach a breakpoint and wait, but problem is I don't know > where is it waiting. So breakpoint will be blind guess. > On 19-Sep-2013 4:09 AM, "Andrey" <[email protected] <javascript:>> > wrote: > >> You can enable debugger agent in your process by sending SIGUSR1 ( see >> http://nodejs.org/api/debugger.html#debugger_advanced_usage ) >> >> On Wednesday, 18 September 2013 21:21:04 UTC+10, Vivek Goel wrote: >>> >>> Hi, >>> I have node daemon (gearman worker). Sometime I am facing the problem >>> that the process don't respond to some particular requests (gearman jobs). >>> >>> I am using following modules >>> >>> - gearman >>> - mysql >>> - redis >>> - aws sdk >>> - node-gcm >>> - node-apn >>> >>> I don't know in which module the program is hanging. Is it hanging in my >>> code or some of third party code. >>> >>> Is there a way to find out in which module it is hanged (while process >>> is in running state) ? >>> >>> >>> What are the methods used for debugging already running process in node ? >>> >>> >>> >>> >>> -- >> -- >> 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]<javascript:> >> To unsubscribe from this group, send email to >> [email protected] <javascript:> >> For more options, visit this group at >> http://groups.google.com/group/nodejs?hl=en?hl=en >> >> --- >> You received this message because you are subscribed to a topic in the >> Google Groups "nodejs" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/nodejs/WvqEUTu5DcM/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected] <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> > -- -- 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 --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
