[Mono-devel-list] Patch for generating debug info in System.Reflection.Emit

Rodrigo B. de Oliveira rodrigobamboo at gmail.com
Thu Jul 28 07:16:26 EDT 2005


On 5/17/05, Lluis Sanchez <lluis at ximian.com> wrote:
> Hi!
> 

Hi again!

> This patch adds some basic support for generating debug info in SRE.
>

I'm getting off-by-one errors only with raise/throw statements:

<src name="other.boo">
def foo():
    raise "foo"
    return 1

def bar():
    foo()

bar()
</src>

Unhandled Exception: System.ApplicationException: foo
in [0x0000a] (at Other.boo:3) OtherModule:foo ()
in [0x00000] (at Other.boo:6) OtherModule:bar ()
in [0x00000] (at Other.boo:8) OtherModule:Main (System.String[] argv)

Any ideas or clever tricks?
-- 
bamboo
http://blogs.codehaus.org/people/bamboo/
Got objects? http://www.db4o.com/



More information about the Mono-devel-list mailing list