Add images
[mono.git] / doc / jit-debug
index 363d62192ca81aaff812d5cfe0092d952835fc37..85f9290698936afab56a6f28a61f4741e30fba2c 100644 (file)
@@ -1,6 +1,41 @@
-* Debugging support
+* Debugging information
 
-       There 
+       Compile your programs using the `-g' flag in MCS, that will all a special
+       resource containing debugging information to your executable.
 
+       To get stack traces with line number information, you need to run your 
+       program like this:
 
+       <b>
+       mono --debug program.exe
+       </b>
 
+       Notice that the program will need to be compiled with the -g
+       flag and that running with --debug will slow down the execution.
+
+* Mono Debugger 
+
+       The Mono debugger is written in C# and can debug both managed
+       and unmanaged applications, support for multiple-threaded
+       applications and should be relatively easy to port to new
+       platforms.
+
+       Details of the release are available in <a
+       href="http://lists.ximian.com/archives/public/mono-list/2003-January/011415.html">post</a>. 
+       
+       The debugger contains both Gtk# and command line interfaces.
+       The debugging file format used in Dwarf (its already supported
+       by our class libraries and the Mono C# compiler; To debug C
+       applications, you need a recent GCC, or to pass the -gdwarf-2
+       flag to gcc).
+
+       The debugger is available now, you can get it from <a
+       href="http://primates.ximian.com/~martin/debugger/mono-debugger-0.2.0.tar.gz">here</a>
+
+
+
+
+       
+       
+
+       
\ No newline at end of file