File: PVER-dbg.README.Debian.in

package info (click to toggle)
python2.5-doc 2.5-4
  • links: PTS
  • area: contrib
  • in suites: etch, etch-m68k
  • size: 7,816 kB
  • ctags: 2,720
  • sloc: python: 5,817; perl: 3,674; sh: 2,110; makefile: 1,355; xml: 836; lisp: 836; ansic: 719; sed: 2
file content (34 lines) | stat: -rw-r--r-- 1,150 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Contents of the @PVER@-dbg package
-------------------------------------

For debugging python and extension modules, you may want to add the contents
of /usr/share/doc/@PVER@/gdbinit to your ~/.gdbinit file.

@PVER@-dbg contains two sets of packages:

 - debugging symbols for the standard @PVER@ build. When this package
   is installed, gdb will automatically load up the debugging symbols
   from it when debugging @PVER@ or one of the included extension
   modules.

 - a separate @PVER@-dbg binary, configured --with-pydebug, enabling the
   additional debugging code to help debug memory management problems.

For the latter, all extension modules have to be recompiled to
correctly load with an pydebug enabled build. The standard python path
(sys.path) for the @PVER@ binary has been modified:

- The directory
      /usr/lib/@PVER@/lib-dynload/debug
  replaces
      /usr/lib/@PVER@/lib-dynload.

- The directory
      /usr/lib/@PVER@/site-packages/debug
  is inserted before
      /usr/lib/@PVER@/site-packages

- The directory
      /usr/local/lib/@PVER@/site-packages/debug
  is inserted before
      /usr/local/lib/@PVER@/site-packages