State that a variable can't be displayed in Variable watcher

Something you want to see in a LiveCode product? Want a new forum set up for a specific topic? Talk about it here.

Moderator: Klaus

Post Reply
edgore
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 197
Joined: Wed Jun 14, 2006 8:40 pm

State that a variable can't be displayed in Variable watcher

Post by edgore » Sat Dec 08, 2012 8:40 pm

I have been driving myself crazy for the last day because in the IDE it looked like I had a bug, but I did not really. I have a variable that get's very large (20424 characters) and when using the variable watcher it appears to be working fine, the suddenly appears to be empty, which had me looking to figure out what I was doing wrong. This is especially frustrating since I am well below the 32K character lendge, but, I assume it's going over the 32K pixel width (or whatever it is) limit for characters in fields.

I figured out eventually that everything was working just fine and it was an IDE display issue, but it took some time to figure that out that could possibly have been avoided if the variable watcher just said "Variable to large to display" instead of going blank.

And yes, I do need all of those chars on one line.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: State that a variable can't be displayed in Variable wat

Post by Mark » Sat Dec 08, 2012 10:55 pm

Hi,

The 32K pixel width (32,786 pixels to be exact) is the number of dots on your monitor, counting horizontally, which are required to display a line. I think it is about time that the RunRev team lifts those limits completely. Meanwhile, I'd say that it would indeed be very useful to see a note in the variable watcher if a value is too wide to display.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Post Reply