Kari Laine ha scritto: > On Tue, Sep 23, 2008 at 8:44 PM, Benoit Minisini < > [EMAIL PROTECTED]> wrote: > > >> On mardi 23 septembre 2008, Kari Laine wrote: >> >>> Hi, >>> >>> I am trying to understand gb.form and event-handling is still bit mystery >>> to me. I have a question when single stepping through the source code the >>> debugger doesn't seem to step into raised functions. Is it so or don't I >>> understand something? Now actually trying it some more it seems to step >>> into them sometimes and sometimes not. Could someone explain the logic in >>> it - please ? >>> >>> Best Regards >>> Kari Laine >>> >> Please be less vague, otherwise I can't help! >> I suppose you see, sometimes, that stepping "into" a RAISE statement does not have effect. I think you see that because there is no gambas code devoted to handle that particular event, so the debugger executes gambas internal code, which does not find any handler, and so goes on to the next statement.
For example, you have a class "Class1" which at a certain point does RAISE TestEvent If the instantiator of 'Class1 as "testClass"' does not have a testClass_testEvent() method, then stepping through "RAISE testEvent" will lead to nothing - similar to a void statement. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user