Difference between revisions of "Education Courses/Debugging"

From Apache OpenOffice Wiki
Jump to: navigation, search
 
 
(3 intermediate revisions by one other user not shown)
Line 3: Line 3:
 
Prerequisites : (level, skills .. )
 
Prerequisites : (level, skills .. )
  
−
Theorical / Experimental  
+
Theorical:
 +
 
 +
good skills with any text editor
 +
gdb options must be known
 +
C++ / C skills
 +
 
 +
Experimental:
 +
 
  
 
Resources :  
 
Resources :  
 +
 +
FIXME:  translate my documents
  
 
Objectives :
 
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 :  
 
Examples :  
Line 16: Line 58:
  
 
Bibliography :
 
Bibliography :
 +
[[Category:Education]]

Latest revision as of 22:56, 24 February 2010

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