2003-04-16 Charles Iliya Krempeaux <charles@reptile.ca>
[mono.git] / doc / jit-debug
1 * Debugging information
2
3         Compile your programs using the `-g' flag in MCS, that will all a special
4         resource containing debugging information to 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         The Mono debugger is written in C# and can debug both managed
19         and unmanaged applications, support for multiple-threaded
20         applications and should be relatively easy to port to new
21         platforms.
22
23         Details of the release are available in <a
24         href="http://lists.ximian.com/archives/public/mono-list/2003-January/011415.html">post</a>. 
25         
26         The debugger contains both Gtk# and command line interfaces.
27         The debugging file format used in Dwarf (its already supported
28         by our class libraries and the Mono C# compiler; To debug C
29         applications, you need a recent GCC, or to pass the -gdwarf-2
30         flag to gcc).
31
32         The debugger is available now, you can get it from <a
33         href="http://primates.ximian.com/~martin/debugger/mono-debugger-0.2.0.tar.gz">here</a>
34
35
36
37
38         
39         
40
41