[haiku-development] Re: input server as a BServer

  • From: "Stefano Ceccherini" <stefano.ceccherini@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 17 Dec 2007 16:08:39 +0100

2007/12/17, Stefano Ceccherini <stefano.ceccherini@xxxxxxxxx>:
> Hi.
> While tracking down some problems I have with app_server <-> libbe
> communication, I added (locally) a debugger() call inside
> LinkReceiver::Read().
>
> Basically, when some app reads beyond the current message, it'll
> trigger a debugger call.
> The problem is that the input server dies at startup in
> BApplication::_InitGuiContext().

Sorry, was too fast.
While looking through the code, now I noticed why the debugger() call
is triggered. It's due to the code in _init_global_fonts(), which uses
the return value of ReadString() to exit a loop. So, by design, it
reads beyond the current message.

Other related posts: