Page 1 of 1
Debug in LiveCode 4.5.2 for the Mac
Posted: Wed Jan 05, 2011 8:47 pm
by lohill
I recently installed LiveCode 4.5.2 on my Mac in hopes of overcoming some problems I was having with revBrowser. Instead, I got a new set of problems. Specifically, 4.5.2 does not seem willing to stop at breakpoints on a Macintosh. It will and does on my PC (XP under VM Fusion). If I use LiveCode 4.5.0 on my Mac the breakpoints seem to work fine. Is this an issue or am I missing some setting?
Thanks,
Larry
Re: Debug in LiveCode 4.5.2 for the Mac
Posted: Thu Jan 06, 2011 12:44 am
by mwieder
Probably a dumb question, but do you have Script Debug Mode enabled on the mac?
Re: Debug in LiveCode 4.5.2 for the Mac
Posted: Thu Jan 06, 2011 12:45 am
by mwieder
...and if that's not it, try downloading the trial version of PowerDebug from revOnline and see if that helps.
Re: Debug in LiveCode 4.5.2 for the Mac
Posted: Fri Jan 07, 2011 10:56 pm
by lohill
Thanks Mark and I'm sorry for the delay. After I finally found the place to enable Debug Mode I found that it did have a check mark next to it. I unset it and then reset it and it appears to be working correctly now. I'll keep my eye on it - time will tell.
Regards,
Larry
Re: Debug in LiveCode 4.5.2 for the Mac
Posted: Sat Jan 08, 2011 3:51 am
by mwieder
I've found that sometimes errors will occur (I think they're in the IDE stacks) that will turn debugging mode off but not change the debug status in the menubar. And the built-in debugger ignores errors in the IDE stacks so you won't get an indication that this has happened.
And I'm of two minds about this, but I think the way the IDE suppresses its own errors is probably a good thing, or else you could end up with endless loops. But since I'm on the fence about it, in the most recent PowerDebug build I allow you to set the global rev variable gREVDevelopment to true in order to trap IDE errors but otherwise let them slip by.