Re: BREAKing into Euphoria
- Posted by Robert Craig <rds at RapidEu?horia.co?> Sep 11, 2007
- 2120 views
Andy Drummond wrote: > Robert Craig wrote: > > Have you tried: > > with trace > > trace(3) > > > > It will slow your program down, > > but you'll capture the last 500 statements > > in a file, ctrace.out > > > > After forcibly killing it, you might be able to > > see in ctrace.out what it was doing when it > > became non-responsive. > > Ah, so trace(3)closes the ctrace.out file after each write, does it? It flushes the file. Same effect as closing it. > That will do as well, I think, Rob, so thanks very much for the post. > I will give it a try. A well known law says that I won't get the code > to lock up with trace(3) running, of course! I shall have to add > "with trace" to every include file, I guess..... Not really, just the top of your main program file, unless you want to speed things up a bit by not tracing certain frequently-executed code. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com