Fixed in CVS, the problem was with the wxProcess of the debuggee
sending a temination event, but the debugger doesn't exit until the
lua program is finished running so the wxLua executable's wxApp was
still in wxApp::OnInit and the event handlers aren't fully created
yet. I subclassed wxProcess to avoid running the event handler.

I've tweaked up the editor as well so that it does a test compile
before running or debugging to quickly see if there are any obvious
errors.

Regards,
    John Labenski

On 12/7/06, John Labenski <[EMAIL PROTECTED]> wrote:
> On 12/7/06, Andre <[EMAIL PROTECTED]> wrote:
> > I have tried to solve this problem but it seems to involve some rather depth
> > understanding of the internal.
> >
> > on window the debugger fail on run time error
> >
> > simple example, giving a file wiht th following line
> >
> > a()
> >
> > If you debug it you have the expected error in the output window and then 
> > the
> > program and the server (where the debug code is running) crash.
> >
> > There seem to be an invalid event being process for a hidden window but I 
> > am far
> > from understanding what is relly going on.
>
> I do not understand it either, somehow an event handler is
> uninitialized in the wxWidgets code to process the events. I believe
> it is with the wxProcessEvent and so I subclassed wxProcess and used
> it's virtual OnTerminate function instead, but then it crashed in a
> wxCriticalSection in the wWidgets events handler code. MSVC doesn't
> give a very useful stack, I'll try with gcc and gdb tonight.
>
> Regards,
>     John Labenski
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to