Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #27742

Re: Find loop where iteration *lock up*

From Ben Bacarisse <ben.usenet@bsb.me.uk>
Newsgroups comp.lang.javascript
Subject Re: Find loop where iteration *lock up*
Date 2015-05-18 22:25 +0100
Organization A noiseless patient Spider
Message-ID <874mn9lgrp.fsf@bsb.me.uk> (permalink)
References <da232fe8-7356-4ae5-a6a3-24d4041b494b@googlegroups.com> <5acca82a-d227-410d-a4cf-2fd1fb568a49@googlegroups.com>

Show all headers | View raw


jonas.thornvall@gmail.com writes:

> Den måndag 18 maj 2015 kl. 22:34:31 UTC+2 skrev jonas.t...@gmail.com:
>> Is there a way to trace where an iteration do lockup in a javascript?
>> Could they not printout the row executed when you break script?
>
> I've put console.log(¨1¨),console.log(¨3¨),console.log(¨3¨), etc
> within all while loops.
>
> Is there anything i further can do to find out where it lockup?

Most systems have some form of debugger.  I can't help much with how to
use them because I prefer to use lots of tests.  Your code is almost
untestable because all the parts are tied together through globals.

-- 
Ben.

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Find loop where iteration *lock up* jonas.thornvall@gmail.com - 2015-05-18 13:34 -0700
  Re: Find loop where iteration *lock up* jonas.thornvall@gmail.com - 2015-05-18 14:00 -0700
    Re: Find loop where iteration *lock up* Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-05-18 22:25 +0100
      Re: Find loop where iteration *lock up* jonas.thornvall@gmail.com - 2015-05-18 14:58 -0700
  Re: Find loop where iteration *lock up* "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2015-05-18 14:53 -0700
    Re: Find loop where iteration *lock up* jonas.thornvall@gmail.com - 2015-05-18 15:18 -0700
      Re: Find loop where iteration *lock up* jonas.thornvall@gmail.com - 2015-05-18 15:40 -0700
        Re: Find loop where iteration *lock up* jonas.thornvall@gmail.com - 2015-05-18 15:42 -0700
          Re: Find loop where iteration *lock up* Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-05-19 01:20 +0100
            Re: Find loop where iteration *lock up* "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-05-19 02:54 +0200
        Re: Find loop where iteration *lock up* "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2015-05-18 17:36 -0700
      Re: Find loop where iteration *lock up* "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2015-05-18 17:33 -0700
      Re: Find loop where iteration *lock up* "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2015-05-18 17:35 -0700

csiph-web