Ethereal-dev: Re: SV: [Ethereal-dev] What's changed with operational dissection?

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Fri, 28 Oct 2005 10:49:15 +0200 (CEST)
Hi,

Tried this lot at the top of my dissector:

  printf("entering dissector for frame %d\n\r", pinfo->fd->num);
  fprintf(stderr, "fprintf: entering dissector for frame %d\n\r", pinfo->fd->num);
  g_print("g_print: entering dissector for frame %d\n\r", pinfo->fd->num);
  g_message("g_message: entering dissector for frame %d\n\r", pinfo->fd->num);
  g_warning("g_warning: entering dissector for frame %d\n\r", pinfo->fd->num);

Only g_print() and g_warning() do produce output in the Ethereal Debug
Console window.

Thanx,
Jaap

On Thu, 27 Oct 2005, Ulf Lamping wrote:

> Jaap Keuter wrote:
>
> >Eh, I went to the preferences and have the console window opened every
> >time. Still no output with printf() :(
> >
> >
> Hmmm, printf should work then.
>
> You may try g_warning instead.
>
> Regards, ULFL
>
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev
>