Page 4 of 4

Re: See both variables and code in the debugger?

Posted: Mon Jan 11, 2021 2:00 pm
by AndyP
MichaelBluejay wrote: Mon Jan 11, 2021 2:55 am I'm not keen on reinstalling Variable Monitor because loading it is when the problems started and I've spent far too much time already battling LC.
I think this is a red herring, all Variable monitor does is copies the array data that is feed into the variables tab and then re displays it.

I left Variable Monitor running overnight with a large script open in the Script Editor, so it was running for well over 9 hours and on looking at it this morning it was still behaving nicely. I see no unusual Script Editor problems or more slow downs than I would usually expect.

I don't think you've mentioned what OS and OS version your running. All my tests have been done on Win10 with Indy LC 9.6.1

Re: See both variables and code in the debugger?

Posted: Mon Jan 11, 2021 2:34 pm
by MichaelBluejay
I've mentioned 3 times that I'm running MacOS. Specifically, it's 10.13.6, not that it should matter.

It may be that Variable Monitor didn't cause my problems, but given all the downtime I had trying to get that and LC working, I'm not going to risk trying it again until I really need it.

Re: See both variables and code in the debugger?

Posted: Mon Jan 11, 2021 2:55 pm
by AndyP
MichaelBluejay wrote: Mon Jan 11, 2021 2:34 pm I've mentioned 3 times that I'm running MacOS. Specifically, it's 10.13.6, not that it should matter.

It may be that Variable Monitor didn't cause my problems, but given all the downtime I had trying to get that and LC working, I'm not going to risk trying it again until I really need it.
Ok, sorry missed the OS info, hope you manage to get all up and running ok again.

Re: See both variables and code in the debugger?

Posted: Mon Jan 11, 2021 5:15 pm
by dunbarx
Michael.
I've mentioned 3 times that I'm running MacOS
We are all merely volunteers here. I certainly miss points made in a long thread, unless I am following it closely, and still do even then. We are, however, trying to help and advise. Be patient with us.

Craig

Re: See both variables and code in the debugger?

Posted: Mon Jan 11, 2021 6:09 pm
by mwieder
Capitalized variables don't get sorted into proper alphabetical order with the non-capitalized variables in the Variables list, and there's no way to change it.
Depending on how you view things, this is either a feature of the treeview widget or something worthy of a bug report.
The treeview sorts its entries numerically by parsing strings as numbers, and in that case lowercase characters have a lower ASCII numerical value than lowercase characters, so they'll show up above the lowercase strings. So the entries are in the "proper" order, but it depends on how you're defining "proper".

And no, there's nothing you can do about that other than creating your own treeview widget and "fixing" the CompareKeysNumeric handler.

Re: See both variables and code in the debugger?

Posted: Mon Jan 11, 2021 7:19 pm
by jacque
For the slowdown, turn off all the editing options in the edit menu of the script editor, i.e. live variables, matching brackets, etc. Those are often cause for slowdowns. If that improves things you can selectively turn back on only the features you need.

I'm on Mac OS and have only bracket completion turned on. Response is very acceptable. You do need to use a more recent version of LC, and like others, I can't recall which that is. It's a long thread.

Re: See both variables and code in the debugger?

Posted: Tue Jan 12, 2021 2:24 pm
by MichaelBluejay
Thank you all very much for the help.