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
 +
 
- build OpenOffice.org including assertions
 
- build OpenOffice.org including assertions
 +
 
- used to gdb use
 
- used to gdb use
 +
 
- attach a process
 
- attach a process
 +
 
- insert/create breakpoints
 
- insert/create breakpoints
 +
 
- verify and predict what the code will do
 
- verify and predict what the code will do
 +
 
- track crashes
 
- track crashes
 +
 
- track values
 
- track values
 +
 
- modify values in runtime
 
- modify values in runtime
 +
 
- insert conditionnal breakpoint
 
- insert conditionnal breakpoint
 +
 
- insert breakpoints at line ..  
 
- insert breakpoints at line ..  
 +
 
- insert breakpoints at function/method
 
- insert breakpoints at function/method
  
−
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
+
* analyse a backtrace
  
  

Revision as of 17:48, 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