Francisco Alcoba (TS/EEM) wrote:
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
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev
Powered by MHonArc 2.6.10