opened socket in IDE prevents script changes
Bernard Devlin
bdrunrev at gmail.com
Sat Jan 16 10:10:35 EST 2021
Hi Bernd
Thanks for the suggestion. But I think the evidence points away from this.
One thing I've done is
- change the script (could be just addition of a comment)
- copy entire script
- apply & close
- re-open script editor --> *change is missing*
- close IDE
- re-open LC
- open stack script in editor
- delete entire script
- paste script from clipboard
- apply & close
- re-open script editor --> *change is now there*
As soon as I open a socket, back to the situation that where script
changed, apply etc. does not take. And closing all sockets does not work
(although there is always one socket left open, which I believe is a socket
the IDE creates in the background).
I'm working on the assumption that it's something to do with the way I'm
reading/writing to the socket.
It's definitely strange. But if I can get to the bottom of this it will
help others. The weird thing is that everything is working with the socket
communications, no script or runtime errors thrown by LC, yet this working
app breaks the IDE in the sense that LC is no longer a dynamic scripting
environment (for me anyway).
It's important to get to the bottom of this as it makes LC look bad,
especially the numerous crashes, which all seem to be related to setting
breakpoints in the script editor to try and get to the bottom of what was
not working. At least on OSX I'm getting crash logs in the console.
Strangely the crash errors are not all the same.
Regards
Bernard
On Fri, Jan 15, 2021 at 5:28 PM Niggemann, Bernd via use-livecode <
use-livecode at lists.runrev.com> wrote:
> Hi Bernard,
>
> I have seen similar behavior of the apply button indicating "clean" when
> the script was "dirty"/had compile errors. That was without sockets.
>
> https://quality.livecode.com/show_bug.cgi?id=22555
>
> maybe your problem is related
>
> Kind regards
> Bernd
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
More information about the use-livecode
mailing list