[Mono-devel-list] emitting debug information
michal.moskal at gmail.com
Tue Dec 14 17:11:33 EST 2004
During our work on the Nemerle compiler we encountered some problems
with emission of the debug information under mono. There is some API
defined in the S.R.E. documentation. It works under MS.NET but not
under Mono. I've seen that some strange hacks with Invoke'ing members
through reflection is used in mcs (symbolwriter.cs).
What exactly doesn't work is this:
(this is patch with changes needed for debug output). Now when given
program file is compiled with this, mono --debug doesn't print line
number information when exception is thrown by the program (this is
the best way I come out to actually check if any debug info is present
in the image).
So I've got a few questions:
1. Is there any documentation available?
2. How to check the debug info in mono-compiled PE image? That is
check if it's at all present, and if so, dump it somehow.
3. What have we done wrong? ;-)
: Michal Moskal ::: http://nemerle.org/~malekith/ :: GCS !tv h e>+++ b++
: ::: Logic is a nice contrast to the Real World. :: UL++++$ C++ E--- a?
More information about the Mono-devel-list