Changes between Version 8 and Version 9 of Debugging
- Timestamp:
- 01/10/13 09:07:45 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Debugging
v8 v9 49 49 [[BR]] 50 50 51 == Network Traffic == 52 53 Seeing what is being exchanged between the client and server can be useful at times, an easy way to achieve this is to use tcp mode (ie: {{{--bind-tcp=0.0.0.0:10000}}} option) without packet compression ({{{-z 0}}} option) then the packets can be looked at with your favourite packet inspection tool, ie: 54 {{{ 55 ngrep -p 10000 56 }}} 57 The packet type is the first thing in each packet and it is a simple string which makes it easy to observe traffic. 58 51 59 == GDB == 52 60 When dealing with crashes ("core dumped"), the best way to debug is to fire gdb.