Complete Newbie (but 25 years experience in older stuff)
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 19
- Joined: Thu Feb 26, 2015 7:51 am
- Location: Perth, Western Australia
- Contact:
Re: Complete Newbie (but 25 years experience in older stuff)
The debugger periodically just does nothing, the breakpoints are grey instead of red and nothing happens. This is in either edit or run mode. The only fix is to re-start Livecode, however bear in mind I am so new and there ma be something else I haven't worked out yet.
Cheers
John
Cheers
John
-
- VIP Livecode Opensource Backer
- Posts: 9648
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Complete Newbie (but 25 years experience in older stuff)
This never happens with "hard" breakpoints, correct? Only the "soft" red dots?
If so this is a long standing issue.
Craig
If so this is a long standing issue.
Craig
-
- Posts: 19
- Joined: Thu Feb 26, 2015 7:51 am
- Location: Perth, Western Australia
- Contact:
Re: Complete Newbie (but 25 years experience in older stuff)
Hi Craig
This will take time to answer, as I said I am so new to this and until I figure whether it is to do with me not doing something in sequence like 'Saving' or 'Applying' the script properly before I run it. To be honest I have probably jumped in a bit early on his one. For instance the Script Edit window does not open multiple instances, it only opens a new script into the same window, therefore my scripts are not 'stacked' in multiple windows so I can cycle between them. Also when I switch to another object and open the script it does not prompt me to save the old one. I suspect when zipping between scripts and maybe not saving each one first may disable the debugger.
It will probably be all fine when I get used to doing things properly in LC
Cheers
John
This will take time to answer, as I said I am so new to this and until I figure whether it is to do with me not doing something in sequence like 'Saving' or 'Applying' the script properly before I run it. To be honest I have probably jumped in a bit early on his one. For instance the Script Edit window does not open multiple instances, it only opens a new script into the same window, therefore my scripts are not 'stacked' in multiple windows so I can cycle between them. Also when I switch to another object and open the script it does not prompt me to save the old one. I suspect when zipping between scripts and maybe not saving each one first may disable the debugger.
It will probably be all fine when I get used to doing things properly in LC
Cheers
John
-
- VIP Livecode Opensource Backer
- Posts: 7228
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Complete Newbie (but 25 years experience in older stuff)
Each new script opens in a tab, like a web browser. Look at the top of the script editor. If you make changes it should prompt you when you try to close the tabbed window.
If you want each script in its own window, right click a tab and choose "open in new window".
There are small icons at the top right that let you access the most recent scripts again if you have too many tabs. Scripts are not closed until you close the tab, even if they aren't currently visible at the top.
Is it possible that you are working on a script but haven't compiled it yet, and then open another script, and when you go back to the first one it won't accept breakpoints because it isn't compiled yet? If you don't know about tabs it would appear that the script is newly opened in its own window.
If you want each script in its own window, right click a tab and choose "open in new window".
There are small icons at the top right that let you access the most recent scripts again if you have too many tabs. Scripts are not closed until you close the tab, even if they aren't currently visible at the top.
Is it possible that you are working on a script but haven't compiled it yet, and then open another script, and when you go back to the first one it won't accept breakpoints because it isn't compiled yet? If you don't know about tabs it would appear that the script is newly opened in its own window.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- Posts: 19
- Joined: Thu Feb 26, 2015 7:51 am
- Location: Perth, Western Australia
- Contact:
Re: Complete Newbie (but 25 years experience in older stuff)
Not only possible, but probable. I have now made it a practice to save before working on another scriptIs it possible that you are working on a script but haven't compiled it yet, and then open another script, and when you go back to the first one it won't accept breakpoints because it isn't compiled yet? If you don't know about tabs it would appear that the script is newly opened in its own window.
Thanks for your feedback. I think more than the content, just knowing that peer support is only a click away is a great comfort
Cheers
John
-
- VIP Livecode Opensource Backer
- Posts: 7228
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Complete Newbie (but 25 years experience in older stuff)
Saving often is the safest way, but if you don't, look at the small colored dot at the top left of the script editor. If it's red, the script hasn't been compiled. If it's green, it's compiled.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- VIP Livecode Opensource Backer
- Posts: 9648
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Complete Newbie (but 25 years experience in older stuff)
Open live code preferences. In the "script editor' pane there is n option that allows either new tabs or new windows.
I invariably use new tabs, but now and then I want to run two versions of a handler side by side, and the best way to do that is with adjacent windows.
Craig
I invariably use new tabs, but now and then I want to run two versions of a handler side by side, and the best way to do that is with adjacent windows.
Craig