Re: New "maxstatements" feature suggestion
- Posted by don cole <doncole at pacbell.net> Jun 08, 2007
- 683 views
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