Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #27749
| From | Ben Bacarisse <ben.usenet@bsb.me.uk> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Find loop where iteration *lock up* |
| Date | 2015-05-19 01:20 +0100 |
| Organization | A noiseless patient Spider |
| 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> |
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
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