Penguin

Differences between version 3 and previous revision of DeBugging.

Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History

Newer page: version 3 Last edited on Tuesday, July 30, 2002 7:01:36 pm by PerryLorier Revert
Older page: version 2 Last edited on Tuesday, July 30, 2002 7:00:59 pm by PerryLorier Revert
@@ -34,4 +34,6 @@
  
 If you run gdb(1) on your program and it displays the names of the functions but doesn't display their types (eg: what arguments they have or line number information) you probably didn't compile them with -g 
  
 ddd(1) appears to be a reasonable [GUI] interface to gdb(1) for those that are afraid of CommandLine's. 
+  
+use assert(3) everywhere. It's much nicer at finding your bugs closer to where the bug actually hides.