[Mono-bugs] [Bug 51477][Wis] New - AOTd code does not give line numbers under --debug

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 28 Nov 2003 12:26:33 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by bmaurer@users.sf.net.

http://bugzilla.ximian.com/show_bug.cgi?id=51477

--- shadow/51477	2003-11-28 12:26:33.000000000 -0500
+++ shadow/51477.tmp.11392	2003-11-28 12:26:33.000000000 -0500
@@ -0,0 +1,46 @@
+Bug#: 51477
+Product: Mono/Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: bmaurer@users.sf.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: AOTd code does not give line numbers under --debug
+
+Description of Problem:
+If you AOT code, you dont get line numbers when running
+   mono --debug program.exe
+
+Steps to reproduce the problem:
+1. AOT mscorlib.dll
+2. Write a piece of code that will raise an exception in a corlib class
+3. Compile the code, makeing sure to use /debug
+4. mono --debug program.exe
+
+Actual Results:
+You get a stack trace with no line numbers
+
+
+Expected Results:
+You get line numbers
+
+
+How often does this happen? 
+Always, if you AOT the code
+
+Additional Information:
+Gonzalo was pretty sure this was a bug:
+<gonzalo> but metadata is read from .dll
+<gonzalo> so it should have the info to get line numbers
+
+If it is not actually a bug, but is by design, maybe we should ignore the
+aot'd assembly under --debug.