I'd suggest looking at Theseus (for Brackets) http://blog.brackets.io/2013/08/28/theseus-javascript-debugger-for-chrome-and-nodejs/
Has helped me debug callback soup more than once. I use it frequently on my Lenovo IdeaPad u310 for debugging, but not for editing, so it doesn't require a ton of resources. On my I7 desktop I use it for both editing and debugging. On Thu, Sep 19, 2013 at 9:36 AM, Vivek Goel <[email protected]> wrote: > > > On Thursday, September 19, 2013 12:08:59 PM UTC+5:30, Andrey wrote: >> >> 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) >> > Sorry , If I am getting any thing wrong here. > My problem is callback hanged *(lost some where).* No next function is > getting executed for particular one request here. > I think then attaching breakpoint on next statement or enabling > statistical profile will not help here. > > Please correct me if I am wrong. > > > >> >> 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]> wrote: >>> >>>> You can enable debugger agent in your process by sending SIGUSR1 ( see >>>> http://nodejs.org/api/**debugger.html#debugger_**advanced_usage<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<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<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<https://groups.google.com/d/topic/nodejs/WvqEUTu5DcM/unsubscribe> >>>> . >>>> To unsubscribe from this group and all its topics, send an email to >>>> [email protected]. >>>> For more options, visit >>>> https://groups.google.com/**groups/opt_out<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. > -- -- 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.
