Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #27744
| Newsgroups | comp.lang.javascript |
|---|---|
| Date | 2015-05-18 14:58 -0700 |
| References | <da232fe8-7356-4ae5-a6a3-24d4041b494b@googlegroups.com> <5acca82a-d227-410d-a4cf-2fd1fb568a49@googlegroups.com> <874mn9lgrp.fsf@bsb.me.uk> |
| Message-ID | <37baacaa-ffd8-4ae9-bce6-159aa00d97c8@googlegroups.com> (permalink) |
| Subject | Re: Find loop where iteration *lock up* |
| From | jonas.thornvall@gmail.com |
Den måndag 18 maj 2015 kl. 23:25:51 UTC+2 skrev Ben Bacarisse: > 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. Well i decided to make a counter within main, from what i can see it do not lockup on bases less than 10 and it is sporadic but the higher the base and higher the number the higher chance for loop lockup. So using base 11 and counter from 1 to first lockup number, and take it from there.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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