[Mono-bugs] [Bug 508335] New: Debugger Exception when using Locals window

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri May 29 14:45:58 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=508335


           Summary: Debugger Exception when using Locals window
    Classification: Mono
           Product: Mono: Tools
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Visual Studio Integration
        AssignedTo: jpobst at novell.com
        ReportedBy: joncham at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=295285)
 --> (http://bugzilla.novell.com/attachment.cgi?id=295285)
Zip of Test Case

Description of Problem:
When running debugger and using Locals window an exception is thrown.

Steps to reproduce the problem:
1. Build attached project.
2. Debug Remotely in Mono with breakpoint on line in Main
3. Show Locals window.


Actual Results:
Mono.Debugger.TargetMemoryException: Cannot read 4 bytes from target memory at
address 0x00000000
  at Mono.Debugger.Backend.Inferior.read_buffer (TargetAddress address, Int32
size) [0x00047] in
/usr/src/packages/BUILD/mono-debugger-2.4.1/backend/Inferior.cs:884 
  at Mono.Debugger.Backend.Inferior.ReadInteger (TargetAddress address)
[0x0000c] in
/usr/src/packages/BUILD/mono-debugger-2.4.1/backend/Inferior.cs:919 
  at Mono.Debugger.Backend.Inferior.ReadAddress (TargetAddress address)
[0x00020] in
/usr/src/packages/BUILD/mono-debugger-2.4.1/backend/Inferior.cs:944 
  at Mono.Debugger.Languages.Mono.MonoRuntime.MonoClassGetFieldType
(Mono.Debugger.TargetMemoryAccess memory, TargetAddress klass, Int32 index)
[0x00033] in
/usr/src/packages/BUILD/mono-debugger-2.4.1/languages/mono/MonoRuntime.cs:120 
  at (wrapper remoting-invoke-with-check)
Mono.Debugger.Languages.Mono.MonoRuntime:MonoClassGetFieldType
(Mono.Debugger.TargetMemoryAccess,Mono.Debugger.TargetAddress,int)
  at Mono.Debugger.Languages.Mono.MonoClassInfo.GetFields
(Mono.Debugger.TargetMemoryAccess target) [0x00062] in
/usr/src/packages/BUILD/mono-debugger-2.4.1/languages/mono/MonoClassInfo.cs:133 
  at Mono.Debugger.Languages.Mono.MonoClassInfo.<GetFields>m__3A
(Mono.Debugger.TargetMemoryAccess target) [0x00000] in
/usr/src/packages/BUILD/mono-debugger-2.4.1/languages/mono/MonoClassInfo.cs:153 
  at
Mono.Debugger.Backend.SingleSteppingEngine+<DoTargetAccess>c__AnonStorey5.<>m__8
(Mono.Debugger.Thread , System.Object ) [0x00000] in
/usr/src/packages/BUILD/mono-debugger-2.4.1/backend/SingleSteppingEngine.cs:861 
  at Mono.Debugger.Backend.SingleSteppingEngine+<Invoke>c__AnonStorey1C.<>m__22
(Mono.Debugger.Thread , System.Object ) [0x00000] in
/usr/src/packages/BUILD/mono-debugger-2.4.1/backend/SingleSteppingEngine.cs:2022 
  at Mono.Debugger.Backend.SingleSteppingEngine.SendCommand
(Mono.Debugger.TargetAccessDelegate target) [0x00022] in
/usr/src/packages/BUILD/mono-debugger-2.4.1/backend/SingleSteppingEngine.cs:669 
  at Mono.Debugger.Backend.SingleSteppingEngine.Invoke
(Mono.Debugger.TargetAccessDelegate func, System.Object data) [0x0001b] in
/usr/src/packages/BUILD/mono-debugger-2.4.1/backend/SingleSteppingEngine.cs:2021 
  at Mono.Debugger.Backend.ThreadManager.engine_thread_main () [0x00154] in
/usr/src/packages/BUILD/mono-debugger-2.4.1/backend/ThreadManager.cs:359 


Expected Results:
Variable should just be null. No exception.

How often does this happen? 
Every time.

Additional Information:

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list