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


Groups > comp.lang.javascript > #27749

Re: Find loop where iteration *lock up*

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!news2.arglkargh.de!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Ben Bacarisse <ben.usenet@bsb.me.uk>
Newsgroups comp.lang.javascript
Subject Re: Find loop where iteration *lock up*
Date Tue, 19 May 2015 01:20:09 +0100
Organization A noiseless patient Spider
Lines 35
Message-ID <87y4klju4m.fsf@bsb.me.uk> (permalink)
References <da232fe8-7356-4ae5-a6a3-24d4041b494b@googlegroups.com> <fc7a62f5-142e-47fc-bec9-0aa3e613f36d@googlegroups.com> <2be4ebc1-2b4f-4743-9009-f3136580289d@googlegroups.com> <11cf284d-7d4d-496b-a104-b8e4c00f2339@googlegroups.com> <6334a69b-22e4-408b-a7f6-1db54b1118e9@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=iso-8859-1
Content-Transfer-Encoding 8bit
Injection-Info mx02.eternal-september.org; posting-host="017616aa25f81ec581c44d76d61ba2f3"; logging-data="1752"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX187I5/W4WGIrMS9iMK5Xf9kGO76+Dz4bP8="
Cancel-Lock sha1:DKDsoQhkbvz4DC5Z3Ank9rRCVGc= sha1:V/acRdZHxrbDx5GW0oGzfmHppqY=
X-BSB-Auth 1.4832d847c0959f105187.20150519012009BST.87y4klju4m.fsf@bsb.me.uk
Xref csiph.com comp.lang.javascript:27749

Show key headers only | View raw


jonas.thornvall@gmail.com writes:

> Den tisdag 19 maj 2015 kl. 00:40:33 UTC+2 skrev jonas.t...@gmail.com:
>> Den tisdag 19 maj 2015 kl. 00:19:02 UTC+2 skrev jonas.t...@gmail.com:
>> > Den måndag 18 maj 2015 kl. 23:53:56 UTC+2 skrev Michael Haufe (TNO):
>> > > On Monday, May 18, 2015 at 3:34:31 PM UTC-5, jonas.t...@gmail.com wrote:
>> > > > 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?
>> > > 
>> > > In the Firefox debugger you can tell it to pause on
>> > > exceptions. I suspect the other popular browsers support this
>> > > functionality as well.
>> > 
>> > I just implemented a counter, and get strange maybe even impossible result.
>> > 
>> > I use base 11 and start to convert from 0 using a counter.
>> > 
>> > But the program decides to loop at different numbers at different
>> > executions, is that even possible?
>> > 
>> > Javascript is not threaded, it is linear execution?
>> 
>> It do bug out at 29 ones or nines. But when i use a counter it can
>> bug out on any number between 117-1000
>
> If i just could find the smallest number it bugs out for in base 11.
> But the counter approach does not work because it locks up on
> different numbers different execution which to me is ape weird.

Your code has reached the point where it is no longer comprehensible
even to you, its author.  I think you need to spend a portion of the
time on this project to learning how to program.

-- 
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