Remote Debugger Anomalies

Monte Goulding monte at appisle.net
Thu Sep 13 16:47:26 EDT 2018



> On 13 Sep 2018, at 11:42 pm, Andrew Bell via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
>> - The stack that caches object scripts is not being cleaned up properly between debugging sessions. This would mean that you would see the old script but what would be executing would be the new script. One way to test this might be to move a breakpoint statement from one line to another and see what line is highlighted in the debugger.
> 
> This is my vote for what is happening. I have noticed numerous times that stepping through lines I could see things happening in the standalone that were NOT the highlited line of code in the script editor at the time. For instance, a blank line (for readability of code) would execute some other line of code that was now 2 lines down due to a recent change in the script.

OK that definitely gives me an idea. The cache is meant to be cleaned up when the socket closes so should be happening between launches of the app but we can also force the debug session to end during the deploy of the new version which will hopefully ensure things are cleaned up.

Cheers

Monte


More information about the use-livecode mailing list