28467c6d88386bc7d6d5fd279260723a78faac37
[reactos.git] / reactos / doc / debug.txt
1 Some notes on debugging the ReactOS kernel
2 ------------------------------------------
3
4 * Interpreting crashes
5
6 If the kernel causes a fatal cpu fault then it will print out a message and
7 halt. This message contains important information for debugging the problem,
8 look for these lines
9
10 Exception: xx(yy)
11 CS:EIP 20:zzzzzzzzzzzz
12
13 Here xx is the type of error, usually either 14 or 13 and yy is the error
14 code. Generally error codes 13 and 14 both mean the kernel tried to access
15 some memory in an invalid way. zzzzzzzzz is the address of the erronous
16 instruction.
17
18 * Debugging with bochs
19