> Can anyone explain why my program runs so slow? >I have a problem with a program that is very slow when I run it without the >debugger (whether I make an application and run that or just select run from >the command menu), but _with_ the debugger it runs vary fast, as it should. >I have two versions of the same basic program; one without any includes that >runs fast and one with four includes that works but gives me the above >problem of running very slow. Since with the debugger on it runs fine, I >can't decipher what the problem is. Anyone have an idea? It's hard without seeing (nor knowing if this is FB or PG) but here goes. * do you have sections that don't operate if the debugger is on? * have you any time criticl sections that because the debugger is slower are only getting called a few times when debugging is on, but are getting called a lot wnd hogging a lot of CPU time when debugging is off? * have you changed the value for when FB polls for events (from memory, this is 'POKE EVENT+8, something'..)? * have you tried looking at your compiler values? * have you accidently switched on 'heap scrambling' in MacsBug? * have you tried deleting the .¼ file and recompiling? * voodoo? karma? fatigue? jonathan ------------------------------------------------------------- ! "format utile" studio de graphisme/graphic design studio ! ! 32 bd de Menilmontant, 75020 Paris, France ! ! phone +33 1 43 49 02 04 +++ fax +33 1 43 49 16 51 ! -------------------------------------------------------------