> On 13 Sep 2018, at 11:42 pm, Andrew Bell via use-livecode 
> <use-livecode@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
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to