[Mono-list] Debugger

Ralph Mason rm.monolist@telogis.com
Thu, 28 Apr 2005 16:05:10 +1200


I am trying to get the debugger working (again) , and I am getting this 
error.

** (/usr/local/lib/mono/1.0/mdb.exe:5990): WARNING **: Could not load 
class from Mono.Debugger.IEventHandle (token 0x0100002e) in /us
r/local/lib/mono/1.0/mdb.exe
(mdb) run
Starting program: HelloWorld.exe
EXCEPTION: System.IndexOutOfRangeException: Array index is out of range.
in <0x00106> Mono.Debugger.Languages.Mono.VariableInfo:.ctor 
(Mono.Debugger.TargetBinaryReader reader)
in <0x003c2> Mono.Debugger.Languages.Mono.MethodAddress:.ctor 
(Mono.CompilerServices.SymbolWriter.MethodEntry entry, Mono.Debugger.Ta
rgetBinaryReader reader, Mono.Debugger.AddressDomain domain)
in <0x00055> Mono.Debugger.Languages.Mono.MonoSymbolFile+MonoMethod:Load 
(Mono.Debugger.TargetBinaryReader dynamic_reader, Mono.Debug
ger.AddressDomain domain)
in <0x00061> Mono.Debugger.Languages.Mono.MonoSymbolFile:GetMonoMethod 
(Int32 index, System.Byte[] contents)
in <0x0001c> 
Mono.Debugger.Languages.Mono.MonoSymbolFile+MethodRangeEntry:GetSymbolLookup 
()
in <0x0000b> Mono.Debugger.SymbolRangeEntry:get_symbol_lookup 
(System.Object user_data)
in (wrapper delegate-invoke) 
System.MulticastDelegate:invoke_object_object (object)
in <0x000ca> Mono.Debugger.ObjectCache:get_Data ()
in <0x0007a> Mono.Debugger.SymbolRangeEntry:get_SymbolLookup ()
in <0x00294> Mono.Debugger.SymbolTable:Lookup (TargetAddress address)
in <0x00133> Mono.Debugger.SymbolTableCollection:Lookup (TargetAddress 
address)
in <0x00041> Mono.Debugger.Backends.SingleSteppingEngine:Lookup 
(TargetAddress address)
in <0x000b0> Mono.Debugger.Backends.SingleSteppingEngine:frame_changed 
(TargetAddress address, Mono.Debugger.Backends.Operation opera
tion)
in <0x00c6c> Mono.Debugger.Backends.SingleSteppingEngine:ProcessEvent 
(Mono.Debugger.Backends.ChildEvent cevent)
in <0x00252> Mono.Debugger.Backends.SingleSteppingEngine:ProcessEvent 
(Int32 status)
in <0x0016c> Mono.Debugger.ThreadManager:engine_thread_main ()



Anyone have any ideas?

This may seem like a wild and crazy thing to say, but is it possible 
that the debugger could be part of mono releases?

Ralph