[Gambas-user] _init method in modules

BB adamnt42 at gmail.com
Thu Sep 28 10:24:14 CEST 2023


Whether both of these symptoms are bugs or features, I do not know. But 
they have both been around for a looooong time.

 From my unreliable memory one time that I did "enjoy" this frustration 
(that's a collective noun for "bug or feature"), I hazily recall that I 
had to either "Debug" or "Print" whatever the aspect of the module that 
I was having trouble with was.

Hope that may get you a bit further down the line.

b

On 28/9/23 5:35 am, Brian G wrote:
> Update, I can get it to stop at the first breakpoint after a stop 
> instruction inserted at the beginning of the _init. and step thru the 
> init.....
>
> but when I continue execution it goes off to never never land and 
> seems to hang...
>
> Is this a bug or a feature?
>
> On 9/27/23 12:46, Brian G wrote:
>> I am confused. Should the _init method be called when a module is 
>> loaded. I thought that at some time in the past it was.
>>
>> But I guess I am wrong? 


More information about the User mailing list