Page 1 of 1

Preferences?

Posted: Mon Aug 25, 2014 10:29 pm
by lohill
Recently whenever I have just started LiveCode, I find that if I try to place breakpoints in the code for debugging purposes that the breakpoints are greyed out (disabled) whether or not I have done any changing of code. 'Apply' is not enabled and toggling on and off a breakpoint does nothing. I have found that if I bring up "Preferences" and click on the button called 'Reset all preferences to defaults' I can make the breakpoints useable again. They are then available for use as long as I don't quit LiveCode. This however is not a very good solution. Number one it takes some time and number two I may want something other than the default settings.

I must have accidentally set something wrong but when I go to Preferences to search for a setting that will make those breakpoints stay active, I see nothing that suggests it might work. I know that breakpoints are disabled as soon as you change some code and before you press 'Apply' but this is not the same thing. This has been happening with multiple versions of LCC from 6.2 to 6.7 dp 9 on a Macintosh. Any suggestions for correction will be much appreciated.

Thanks,
Larry

Re: Preferences?

Posted: Tue Aug 26, 2014 3:35 am
by PBH
Larry,

On a Mac you've probably noticed that the menus change depending on which window is active, so if your Stack window is active, look under the "Development" menu and check the "Script Debug Mode", or if your Script Editor window is active, look under the "Debug" menu to check the "Script Debug Mode", it should have a check mark next to it for the breakpoints to work.

It sounds like this may be the setting that you have turned off, just select it again to turn it back on.

Paul

Re: Preferences?

Posted: Tue Aug 26, 2014 6:52 pm
by lohill
Thanks Paul. That was exactly what I needed.

Larry