Difference between revisions of "Education Courses/Debugging"

From Apache OpenOffice Wiki
Jump to: navigation, search
Line 18: Line 18:
 
Objectives :
 
Objectives :
  
−
 
+
*gdb use:
−
gdb use:
 
  
 
- build a module including symbols
 
- build a module including symbols
Line 36: Line 35:
 
valgrind use: FIXME
 
valgrind use: FIXME
  
−
leaks tracking ( e.g. on Mac OS X )
+
*leaks tracking ( e.g. on Mac OS X )
 +
 
 +
*analyse a backtrace
 +
 
  
 
Examples :  
 
Examples :  

Revision as of 17:47, 18 January 2008

FIXME

Prerequisites : (level, skills .. )

Theorical:

good skills with any text editor gdb options must be known C++ / C skills

Experimental:


Resources :

FIXME: translate my documents

Objectives :

  • gdb use:

- build a module including symbols - build OpenOffice.org including assertions - used to gdb use - attach a process - insert/create breakpoints - verify and predict what the code will do - track crashes - track values - modify values in runtime - insert conditionnal breakpoint - insert breakpoints at line .. - insert breakpoints at function/method

valgrind use: FIXME

  • leaks tracking ( e.g. on Mac OS X )
  • analyse a backtrace


Examples :

outside OpenOffice.org project / internal

Links :

Bibliography :

Personal tools