Ethereal

RE: [Ethereal-dev] ethereal crash
Google
 
Web Ethereal.com

Home | Introduction | Documentation | Lists | FAQ | Development | Wiki | Bugs

Ethereal-dev: January 2005


> I'm trying to write a new dissector. when I open a file with 
> more than around 40 packets, ethereal crash. I don't do any 
> memory allocation, but it seems like memory leaks somewhere. 
> Is there anyway I can debug the dissector I just wrote? I'm 
> using nmake in windows xp.

Hi,

You can create a Visual C project of type "Makefile" giving the 
makefile.nmake file as an argument. It will not incorporate the sources
to the project tree, but if you open any of the files -e.g. your dissector-
you can set a breakpoint and continue debugging from there.

I've found it easier to compile from the command line and debug in the GUI
afterwards, I never get environment variables right in Visual -although 
incremental compilations usually work-.

Regards,
  Francisco


Powered by MHonArc 2.6.10