Time bomb in project

Maddo7

Client
Регистрация
09.05.2015
Сообщения
123
Благодарностей
5
Баллы
18
Sometimes projects get stuck in an endless loop and never end.

Is there a way to terminate project execution after X seconds?

The thought is that a project takes maximum X seconds and that I terminate the instance if it takes longer to recover from the endless loop.
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 813
Благодарностей
1 188
Баллы
113
Sometimes projects get stuck in an endless loop and never end.

Is there a way to terminate project execution after X seconds?

The thought is that a project takes maximum X seconds and that I terminate the instance if it takes longer to recover from the endless loop.
endless loops are logical errors.
You have to solve these errors and all will be fine.
 

Maddo7

Client
Регистрация
09.05.2015
Сообщения
123
Благодарностей
5
Баллы
18
endless loops are logical errors.
You have to solve these errors and all will be fine.
I'm working with websites on Google and that's not always possible. Some websites there open a new popup, some mess with the history object to trap you on the page.

I am implementing everything as good as I can but I wanted a backup for those scenarios.
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 813
Благодарностей
1 188
Баллы
113
I'm working with websites on Google and that's not always possible. Some websites there open a new popup, some mess with the history object to trap you on the page.

I am implementing everything as good as I can but I wanted a backup for those scenarios.
You mean not possible to fix code to not go into an Endless loop?
Not sure how is that.
Please provide a real example and I will show.
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)