Re: New "maxstatements" feature suggestion

new topic     » goto parent     » topic index » view thread      » older message » newer message

Alan Oxley wrote:
> 
> Hello!
> Occasionally I make mistakes with loops and my program grabs 99% CPU.
> Entirely my fault of course. But, its hard to get the operating system 
> to break in and abort the program. Some languages allow a max statement
> count to be specified so that the program halts itself as soon as this
> max is reached. Any chance of this being added? Since euphoria has
> profiling, there is a statement counter in place to check against, yes?
> 
> Regards
> Alan

Hello Alan,

   If you are getting stuck in a loop, is it always the same loop?
If so I like Juergen suggestion of re-evaluating the loop. IMHI I see no need to
restructure the language.


Don Cole

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu