Script Editor / Debugger Problem [solved]
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Livecode Opensource Backer
- Posts: 430
- Joined: Sun Feb 13, 2011 8:43 pm
- Location: Seattle, USA
Script Editor / Debugger Problem [solved]
It's been a while. But I've kept my license current.
So now I go and download the new version 9.0.1
All is well. But when I look at the Script Editor / Debugger it's different.
The last time I used LiveCode, there was buttons for Step, Step Over and Stop.
They're no longer there. Plus, this simple code does not stop at either breakpoint.
I'm sure it's some simple omission on my part. What happened in my absence?
So now I go and download the new version 9.0.1
All is well. But when I look at the Script Editor / Debugger it's different.
The last time I used LiveCode, there was buttons for Step, Step Over and Stop.
They're no longer there. Plus, this simple code does not stop at either breakpoint.
I'm sure it's some simple omission on my part. What happened in my absence?
Last edited by townsend on Mon Oct 01, 2018 4:23 pm, edited 1 time in total.
-
- Livecode Opensource Backer
- Posts: 430
- Joined: Sun Feb 13, 2011 8:43 pm
- Location: Seattle, USA
Re: Script Editor / Debugger Problem
Another clue. To get around this problem, I decided to start this project in version 8.1.6, which I have spent 100+ hours in. And... there I had the same problem.
So it's not a 9.0 bug, but rather something in my Windows 10 environment. I run Kaspersky all the time. I tried turning if off. That didn't help. I also ran Malwarebytes and found nothing with that.
So.. I did a new installed of version 9.0.1 just before discovering this oddity, so I don't think doing a reinstall will make any difference.
So it's not a 9.0 bug, but rather something in my Windows 10 environment. I run Kaspersky all the time. I tried turning if off. That didn't help. I also ran Malwarebytes and found nothing with that.
So.. I did a new installed of version 9.0.1 just before discovering this oddity, so I don't think doing a reinstall will make any difference.
Re: Script Editor / Debugger Problem
Hi townsend,
I'm just getting started again with Livecode 9.01.
I'm using Windows 10 and once code execution stops the buttons you're looking for are displayed. Just curious if that breakpoint might be disabled. On my system they are red if they're enabled or gray if disabled.
I'm just getting started again with Livecode 9.01.
I'm using Windows 10 and once code execution stops the buttons you're looking for are displayed. Just curious if that breakpoint might be disabled. On my system they are red if they're enabled or gray if disabled.
Operating System: macOS Monterey Version 12.5
LiveCode Version: 9.6.8
LiveCode Version: 9.6.8
-
- Livecode Opensource Backer
- Posts: 430
- Joined: Sun Feb 13, 2011 8:43 pm
- Location: Seattle, USA
Re: Script Editor / Debugger Problem
Good point! Those buttons I'm looking for only appear when the code breaks.
The REALLY odd thing is the code never breaks. You'll notice in my screen capture, there are two places where the code should break. 1- There's a outline of a red dot on the beep command. 2- and there's an outright breakpoint command.
The beep sound goes off and the code executes, but it never breaks. So that's another clue.
Why doesn't the breakpoints catch?
Also curious... why isn't that red dot breakpoint colored fully red?
The REALLY odd thing is the code never breaks. You'll notice in my screen capture, there are two places where the code should break. 1- There's a outline of a red dot on the beep command. 2- and there's an outright breakpoint command.
The beep sound goes off and the code executes, but it never breaks. So that's another clue.
Why doesn't the breakpoints catch?
Also curious... why isn't that red dot breakpoint colored fully red?
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: Script Editor / Debugger Problem
Hi all,
You have to enable "Script Debug Mode" for the breakpoints to activate.
Just check Development-> Script Debug Mode.
Kind regards,
Panos
--
You have to enable "Script Debug Mode" for the breakpoints to activate.
Just check Development-> Script Debug Mode.
Kind regards,
Panos
--
Re: Script Editor / Debugger Problem
Just curious, isn't that enabled by default in the setup? But certainly if you made any changes after the install, that could be the problem.LiveCode_Panos wrote: ↑Mon Oct 01, 2018 12:29 pmYou have to enable "Script Debug Mode" for the breakpoints to activate.
I did run some tests on a win10 vm with 9.0.1, I didn't see any issues with breaking either by setting the point or inserting the statement, so I think it likely it is going to be something pertinent to your setup. Both the clicked breakpoint and the typed one stopped the code here ~
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: Script Editor / Debugger Problem
Hello bogs,
Yes it is enabled by default, so I guess somehow it was accidentally turned off in townsend's setup.
Regards,
Panos
--
Yes it is enabled by default, so I guess somehow it was accidentally turned off in townsend's setup.
Regards,
Panos
--
Re: Script Editor / Debugger Problem
Gotcha, I thought maybe something else had changed since I last looked at 9.x
-
- Livecode Opensource Backer
- Posts: 430
- Joined: Sun Feb 13, 2011 8:43 pm
- Location: Seattle, USA
Re: Script Editor / Debugger Problem
Yes!
Thanks guys! That was it! In all my years using LiveCode, I've never had the occasion to use the Script Debug Mode switch. Flipped that switch. Now everything is back to normal.
I always say, "The tech support forums for LiveCode are the best I've ever seen."
Thanks guys! That was it! In all my years using LiveCode, I've never had the occasion to use the Script Debug Mode switch. Flipped that switch. Now everything is back to normal.
I always say, "The tech support forums for LiveCode are the best I've ever seen."