[Gambas-user] Potentially difficult to find error in the IDE

richard terry rterry at ...1946...
Sat Apr 16 14:03:25 CEST 2011


On Saturday 16 April 2011 21:52:39 Jussi Lahtinen wrote:
> Yes, there still are some situations when error messages aren't properly
> shown.
> I haven't be able to reproduce this bug consistently. To me this happens
> randomly and rarely.
> Also I don't see the quick flashes, because my project is full screen and
> when execution stops,
> focus isn't automatically changed to IDE.
> 
> If you know way to reproduce this every time, maybe you can send project to
> demonstrate it.

Would if I could. I've spent many hours delving into hard to reproduce bugs 
and sending Benoit little projects - I always do when its reproducable.

Regards

richard

> 
> Jussi
> 
> On Sat, Apr 16, 2011 at 10:05, richard terry <rterry at ...1946...> wrote:
> > Hi Benoit,
> >
> > This could be difficult to trace for a user:
> >
> > This scenario
> >
> > I had a form, to which at run time, I added a combo box (ie the combo not
> > put
> > on the form in the IDE) and I'd put it in the declarations section at the
> > top.
> >
> > I then changed my mind, and decided I'd put it on the form in the IDE,
> > but as
> > I'd written the code for this module 18 months ago, I'd forgotten I'd
> > originally declared it in code.
> >
> > When the project ran (of course it wouldn't) the execution stopped at the
> > very
> > last line in the file, not giving a visible error message, but after
> > doing this
> > several time I noticed a quick flash of a message saying 'cmbTemplates
> > already
> > in form definition... or similar). Searching for it, I then found the
> > text at
> > the very top of my declaration section.
> >
> > Had I not gimpsed the flash of the error message, I would have continued
> > to be
> > puzzled - I had by the way, searched the entire program for the offending
> > text
> > and for some reason the search hadn't picked it up in the declarations
> > section.
> >
> > Regards
> >
> > Richard
> >
> >
> > -------------------------------------------------------------------------
> >----- Benefiting from Server Virtualization: Beyond Initial Workload
> > Consolidation -- Increasing the use of server virtualization is a top
> > priority.Virtualization can reduce costs, simplify management, and
> > improve application availability and disaster protection. Learn more
> > about boosting the value of server virtualization.
> > http://p.sf.net/sfu/vmware-sfdev2dev
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> 
> ---------------------------------------------------------------------------
> --- Benefiting from Server Virtualization: Beyond Initial Workload
> Consolidation -- Increasing the use of server virtualization is a top
> priority.Virtualization can reduce costs, simplify management, and improve
> application availability and disaster protection. Learn more about boosting
> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 




More information about the User mailing list