Strange IDE bug

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, LCMark

Post Reply
Posts: 39
Joined: Tue Apr 23, 2013 1:30 am

Strange IDE bug

Post by ricochet1k » Fri May 10, 2013 5:08 am

Ever since I found out about gRevDevelopment, I've been playing with various things with it on to see what happens. I noticed that the Project Browser is really slow when scrolling, so I decided to try to figure out why by writing a simple script that looks for all the disclosure buttons and expands them. The bug I found almost immediately doesn't make a lot of sense to me.

First of all, debugging these in general hits an infinite loop "freeze" in a few places due to trace messages throwing exceptions. I found a way to bail these out early.

The error is on line 386 of stack "revProjectInformationLibrary", I don't remember what the error message is, but basically the selectGroupedControls doesn't exist for this "group". So I added a line of code above that records the long name at the time it fills tType, and then made it dump that and the current long name of the control in the catch section of a try block I wrapped around the offending line, along with the caught error.

Code: Select all

group "line26" of group "object list" of card "treeView" of stack "/home/matt/code/livecode/ide/Toolset/revProjectBrowser.livecode"
image "warning.png" of group "line26" of group "object list" of card "treeView" of stack "/home/matt/code/livecode/ide/Toolset/revProjectBrowser.livecode"

I am at a complete loss to explain why the referenced control would change. Any ideas?

Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5132
Joined: Thu Feb 23, 2006 9:24 pm

Re: Strange IDE bug

Post by Mark » Tue May 14, 2013 10:54 pm


To get help with your question, you'll have to post the error that you don't remember along with the code that causes the error.

All I can tell you for now is that the error you pasted in your question corresponds to "object does not have this property".

Kind regards,

The biggest LiveCode group on Facebook:
The book "Programming LiveCode for the Real Beginner"! Get it here!

Livecode Staff Member
Livecode Staff Member
Posts: 998
Joined: Thu Apr 11, 2013 11:27 am

Re: Strange IDE bug

Post by LCMark » Tue May 21, 2013 11:36 am

@ricochet1k: I'll get Elanor to take a look at this when she's back from holiday - the project browser was her baby so will hopefully be able to shed some light :)

Post Reply

Return to “Engine Contributors”