High CPU Usage Caused by Breakpoints

Thomas Gutzmann thomas.gutzmann at gutzmann.com
Mon Jan 17 08:52:10 CST 2005


Hi everybody,

I always wondered why on my Mac (OS/X) Revolution was using more than 50% of the CPU, even when 
everything except the main stack was closed and the IDE was in design mode (pointer tool).

Accidentally (inspired by the debugging problem reported by Alex Tweedly today) I chose "Clear All 
Breakpoints" from the "Development" menu - and CPU dropped to < 1%!

I never hit  breakpoint, and I think I had removed all active breakpoints diligently, but it's 
possible to enter a breakpoint behind the EOF of a script by simply clicking in the left window 
border (obviously a bad idea to activate a window) - maybe one of them was the culprit.

I won't report this to Bugzilla as it may not be a bug - and the bug list seems to be long enough 
o:-)

Cheers,

Thomas G.


More information about the use-livecode mailing list