d5cfef4fcb259f9afec159ba7294f28d0854702c
[mono.git] / doc / jit-debug
1 * Debugging information
2
3         Compile your programs using the `-g' flag in MCS, that will generate a file
4         with the extension .dbg containing the dwarf symbols for your executable.
5
6         To get stack traces with line number information, you need to run your 
7         program like this:
8
9         <b>
10         mono --debug program.exe
11         </b>
12
13         Notice that the program will need to be compiled with the -g
14         flag and that running with --debug will slow down the execution.
15
16 * Mono Debugger 
17
18         A new debugger has been created in C# and using Gtk# for its
19         user interface, this will simplify the debugging of CLI applications.
20
21         Stay turned for its first public release.
22
23