jit-debug 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. * Debugging information
  2. Compile your programs using the `-g' flag in MCS, that will generate a file
  3. with the extension .dbg containing the dwarf symbols for your executable.
  4. To get stack traces with line number information, you need to run your
  5. program like this:
  6. <b>
  7. mono --debug program.exe
  8. </b>
  9. Notice that the program will need to be compiled with the -g
  10. flag and that running with --debug will slow down the execution.
  11. * Mono Debugger
  12. The Mono debugger is written in C# and can debug both managed
  13. and unmanaged applications, support for multiple-threaded
  14. applications and should be relatively easy to port to new
  15. platforms.
  16. Details of the release are available in <a
  17. href="http://lists.ximian.com/archives/public/mono-list/2003-January/005192.html">post</a>.
  18. The debugger contains both Gtk# and command line interfaces.
  19. The debugging file format used in Dwarf (its already supported
  20. by our class libraries and the Mono C# compiler; To debug C
  21. applications, you need a recent GCC, or to pass the -gdwarf-2
  22. flag to gcc).
  23. The debugger is available now, you can get it from <a
  24. href="http://primates.ximian.com/~martin/debugger/debugger-0.2.0.tar.gz">here</a>