Forum Discussion
Altera_Forum
Honored Contributor
15 years agodtrap - needs breakpoint for simple socket server
Whenever I run my simple socket server, I always got the error message dtrap -needs breakpoint panic: pktdemux: corrupt pkt ip exit: calling func 0x1141eb30 ..and I never get a chance to ...
Altera_Forum
Honored Contributor
15 years agoPossibly you could find the 'pktdemux: corrupt pkt' error message and rebuild the code with some extra info printed giving the cause of the error.
Might also be possible to compile everyting with:# define dtrap() dtrap_verbose(__FILE__, __LINE__) and write a dtrap_verbose() that prints the args before trapping.