[Mono-bugs] [Bug 74747][Nor] New - ArrayAccessExpression isn't an lvalue
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 26 Apr 2005 18:04:23 -0400 (EDT)
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 toshok@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=74747
--- shadow/74747 2005-04-26 18:04:23.000000000 -0400
+++ shadow/74747.tmp.14463 2005-04-26 18:04:23.000000000 -0400
@@ -0,0 +1,37 @@
+Bug#: 74747
+Product: Mono: Debugger
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: cli
+AssignedTo: toshok@ximian.com
+ReportedBy: toshok@ximian.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: ArrayAccessExpression isn't an lvalue
+
+we should be able to (within array bounds) execute something like:
+
+(mdb) set array[index] = value
+
+right now we can't - the following happens:
+
+$ mdb /usr/lib/mono/1.0/mcs.exe
+Mono Debugger
+(mdb) r "hi"
+Process @4 stopped at #0: 0x40d71455 in
+Mono.CSharp.Driver.Main(System.String[])+0x15 at
+/home/toshok/src/mono/mcs/mcs/driver.cs:281.
+ 281 bool ok = MainDriver (args);
+(mdb) print args[0]
+(System.String) ""hi""
+(mdb) set args[0] = "bye"
+Expression `args[Mono.Debugger.Frontend.NumberExpression (0)]'
+(Mono.Debugger.Frontend.ArrayAccessExpression) is not an lvalue
+(mdb)