Infinite loops detection
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2015-10-08 09:10 AM
ā2015-10-08
09:10 AM
it would be great if Archicad could detect when an object is stuck in an infinite loop and would avoid interpreting it.
This causes crashes and is especially very annoying when the object is spread over the whole office when working in teamwork.
If you append to sync the library with a bad object it will be copied on every local copy when "send&receive" is pressed by client and is a pain to fix and causes some data loss.
Would that be possible in the future?
maybe I should make it a poll.
/olivier
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2015-10-08 02:48 PM
ā2015-10-08
02:48 PM
Yes, I think you should make this into a wish.
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2015-10-08 07:10 PM
ā2015-10-08
07:10 PM
Hi.
Just add a very high counter inside the loop so that if you create an infinite loop by accident, it'll stop after a certain amount of iterations.
Something like:
Best regards.
Just add a very high counter inside the loop so that if you create an infinite loop by accident, it'll stop after a certain amount of iterations.
Something like:
thisLoopCounter = 1 REPEAT thisLoopCounter = thisLoopCounter + 1 the code inside the loop UNTIL yourConditionIsTrue or thisLoopCounter > 10000Easy to locate and fix. Hard to create the habit.
Best regards.