Ah, thanks, sorry for being so annoying, I've fixed that by making them 
functions to return a string, probably not programmatically elegent. I 
originally stuck them down the bottom to get them out of the way, didn't 
think of them as a declaration which of course they are. It now stops as 
it should. I'll post to the list as well in case anyone else does that.

Anyway, at least it uncovered the bug to be fixed so thanks again.

Regards

Richard


On 16/09/15 21:38, Benoît Minisini wrote:
> Le 16/09/2015 07:38, richard terry a écrit :
>> On 16/09/15 10:11, Benoît Minisini wrote:
>>> Le 16/09/2015 01:45, Benoît Minisini a écrit :
>>>> I found. It is a bug I was aware of but have forgotten:
>>>>
>>>> When you declare a global variable (Public or Private) *after* a
>>>> function, breakpoints do not work anymore. Debugging information seems
>>>> to be falsely generated by the compiler.
>>>>
>>>> I have forgotten the bug because I always declare variables first.
>>>>
>>>> Now you have a workaround until I find how to fix that!
>>>>
>>>> Regards,
>>>>
>>>
>>> Fixed in revision #7314. Next time use the bugtracker for reporting
>>> the bug!
>>>
>>> Regards,
>>>
>> Thanks.
>>
>> However, sorry to be totally thick but not sure where in my code this
>> occurs, if you've not thrown it out could you tell me the line number. I
>> obviously don't really understand as I've taken a look and not picked up
>> where the problem is.
>>
>> Thanks.
>>
>> richard
>>
>>
>
> At the end of the form source code: you declare some global variables.
>


------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to