473,405 Members | 2,279 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Kill Javascript infinite loop

Hello,

Is there any way to kill a Javascript infinite loop in Safari without
force-quitting the browser?

MP

Aug 5 '05 #1
5 4901
ASM
ma*********@email.com wrote:
Hello,

Is there any way to kill a Javascript infinite loop in Safari without
force-quitting the browser?


seems to not be a real problem, it's so easy to do ...

Menu File / New Tab
or Apple + T
control+clic on looped tab -> popup menu : Close tab
or click on looped tab then Apple + W

--
Stephane Moriaux et son [moins] vieux Mac
Aug 5 '05 #2
In article <11**********************@g44g2000cwa.googlegroups .com>,
ma*********@email.com says...
Hello,

Is there any way to kill a Javascript infinite loop in Safari without
force-quitting the browser?


Why do you have an infinite loop without a programmatic method of
escape?

--
Hywel
http://kibo.org.uk/
Aug 6 '05 #3
"Hywel Jenkins" wrote
ma*********@email.com says...
Hello,

Is there any way to kill a Javascript infinite loop in Safari without
force-quitting the browser?


Why do you have an infinite loop without a programmatic method of
escape?


Because we are programmers, not God, and cannot foresee everything.
Sometimes we try out a loop only to see if it is infinite or not, sometimes
we try out a loop to find out other things, and find it is infinite even
though we were not looking for it. So, if you can answer the question,
please do so. Being stuck in an infinite loop myself, I am very interested.

Simon.

Aug 6 '05 #4
ASM
Zombie wrote:
So, if you can answer the question,
please do so. Being stuck in an infinite loop myself, I am very interested.


Did you read my own answer ?

--
Stephane Moriaux et son [moins] vieux Mac
Aug 7 '05 #5
In article <42***********************@news.wanadoo.nl>, zo*@bie.net
says...
"Hywel Jenkins" wrote
ma*********@email.com says...
Hello,

Is there any way to kill a Javascript infinite loop in Safari without
force-quitting the browser?
Why do you have an infinite loop without a programmatic method of
escape?


Because we are programmers,


Perhaps not very good ones, at that.

not God,
Very funny.

and cannot foresee everything.
You should at least be able to see that you may need a way out of an
infinite loop, especially when debugging.

Sometimes we try out a loop only to see if it is infinite or not, sometimes
we try out a loop to find out other things, and find it is infinite even
though we were not looking for it. So, if you can answer the question,
please do so. Being stuck in an infinite loop myself, I am very interested.


A truly remarkable paragraph.
--
Hywel
http://kibo.org.uk/
Aug 7 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: stan k. | last post by:
First of all let me clarify - I am not talking about having a bunch of images loaded all at once (or preloaded) and then controlling the display of the images after that point -- I know that can be...
43
by: Gremlin | last post by:
If you are not familiar with the halting problem, I will not go into it in detail but it states that it is impossible to write a program that can tell if a loop is infinite or not. This is a...
2
by: alxasa | last post by:
Hi, I have a setInterval which executes its command every 10 seconds in a infinite loop. I've got something real basic like: var processes=0; function startme(){ if(stopthisloop>1)
44
by: James Watt | last post by:
can anyone tell me how to do an infinite loop in C/C++, please ? this is not a homework question .
1
by: chengiz | last post by:
Hi, I'm trying to run a process from a python script. I need the exit status of that process but do not care about its output, so until now was using os.system(). But it turned out that the...
1
by: spectrumdt | last post by:
Thanks for the replies. On May 8, 5:50 pm, Jean-Paul Calderone <exar...@divmod.comwrote: Yes, thank you, this seems to work. :) I did some more testing and found out that the problem seems...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.