Debian Codegraph @

src/doc/debugging

raw
1 You can find the preprocessed documentation in ./doc in HTML format.
2
3 Debugging via GDB:
4 ------------------
5
6 src/util/gdbinit (and, therefore, build/.gdbinit) defines
7 a few convenience things - T, NIL, and, even more important,
8 ecl_print.
9
10 This is a GDB function that prints a 'cl_object' human-readably:
11
12 (gdb) ecl_print x
13 $39 = t_fixnum
14 $40 = (ecl_base_char *) 0x42b4000 "10652336"
15
16 And another that helps to see a thread state:
17
18 (gdb) ecl_eval "cl:*package*"
19
20 Please note that double quotes have to be escaped:
21
22 (gdb) ecl_eval "(concatenate 'string \"a\" \"b\")"
23
24 Both will give a string with "readable" content, and a pretty-printed one.
25
26
27
28 Using VIM:
29 ----------
30
31 .git/tags is a VIM-compatible tag file; if you're using
32 the fugitive plugin, it will be used automatically.
33
34
35
36 About testing:
37 --------------
38
39 make check
40 to (get, initialize and) run the tests
41
42 make -C build/tests do-regressions
43 make -C build/tests do-ansi
44 make -C build/tests do-quicklisp
45 make -C build/tests do-mop-tests
46 runs the specified tests
47
48 make -C build/tests/ show-fails
49 prints results