Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #27742
| 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 | Mon, 18 May 2015 22:25:46 +0100 |
| Organization | A noiseless patient Spider |
| Lines | 17 |
| Message-ID | <874mn9lgrp.fsf@bsb.me.uk> (permalink) |
| References | <da232fe8-7356-4ae5-a6a3-24d4041b494b@googlegroups.com> <5acca82a-d227-410d-a4cf-2fd1fb568a49@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="31009"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18QoCNoZwcJNwrdzIc4KlBZFnZBRcJfUfg=" |
| Cancel-Lock | sha1:Z0BwCASJm5OaksuTYEbRPeMl3cU= sha1:PMrwvv5Ivcnu26zkfUzGEeKee2E= |
| X-BSB-Auth | 1.210efe0c820b57ae73fd.20150518222546BST.874mn9lgrp.fsf@bsb.me.uk |
| Xref | csiph.com comp.lang.javascript:27742 |
Show key headers only | 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
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