[Mono-list] Need help with mono debugger

tenspd137 dcday137 at gmail.com
Sat Mar 14 23:13:30 EDT 2009




Sandy Armstrong wrote:
> 
> On 03/14/2009 07:52 AM, tenspd137 wrote:
>> when I try to run the debugger
>>
>> mdb helloMono.exe
>>
>> and try
>>
>> (mdb) run
>>
>> I get the following:
>> Starting program: helloMono.exe
>> EXCEPTION: Mono.Debugger.TargetException: Unsupported `mono' executable:
> 
> What version of Mono are you using?  I believe you have to use Mono 2.2 
> with mdb 2.2, but I am not 100% sure.
> 
> Sandy
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 
> 
They are both 2.2 - so that should be okay.  The full error message is:

collin at Krypton ~/projects/mono/helloMono/helloMono/bin/Debug $ mdb
helloMono.exeMono Debugger (mdb) run
Starting program: helloMono.exe 
EXCEPTION: Mono.Debugger.TargetException: Unsupported `mono'
executable: /usr/bin/mono at
Mono.Debugger.Backend.ProcessServant.Initialize
(Mono.Debugger.Backend.SingleSteppingEngine engine,
Mono.Debugger.Backend.Inferior inferior, Boolean is_exec) [0x0021c]
in
/var/tmp/portage/dev-util/mono-debugger-2.2/work/mono-debugger-2.2/backend/ProcessServant.cs:391
at (wrapper remoting-invoke-with-check)
Mono.Debugger.Backend.ProcessServant:Initialize
(Mono.Debugger.Backend.SingleSteppingEngine,Mono.Debugger.Backend.Inferior,bool)
at Mono.Debugger.Backend.ThreadManager.HandleChildEvent
(Mono.Debugger.Backend.SingleSteppingEngine engine,
Mono.Debugger.Backend.Inferior inferior,
Mono.Debugger.Backend.ChildEvent& cevent, System.Boolean&
resume_target) [0x00012]
in
/var/tmp/portage/dev-util/mono-debugger-2.2/work/mono-debugger-2.2/backend/ThreadManager.cs:167
at (wrapper remoting-invoke-with-check)
Mono.Debugger.Backend.ThreadManager:HandleChildEvent
(Mono.Debugger.Backend.SingleSteppingEngine,Mono.Debugger.Backend.Inferior,Mono.Debugger.Backend.Inferior/ChildEvent&,bool&)
at Mono.Debugger.Backend.SingleSteppingEngine.ProcessEvent
(Mono.Debugger.Backend.ChildEvent cevent) [0x001e0]
in
/var/tmp/portage/dev-util/mono-debugger-2.2/work/mono-debugger-2.2/backend/SingleSteppingEngine.cs:203
at Mono.Debugger.Backend.SingleSteppingEngine.ProcessEvent (Int32
status) [0x0000c]
in
/var/tmp/portage/dev-util/mono-debugger-2.2/work/mono-debugger-2.2/backend/SingleSteppingEngine.cs:152
at (wrapper remoting-invoke-with-check)
Mono.Debugger.Backend.SingleSteppingEngine:ProcessEvent (int) at
Mono.Debugger.Backend.ThreadManager.engine_thread_main () [0x000cd]
in
/var/tmp/portage/dev-util/mono-debugger-2.2/work/mono-debugger-2.2/backend/ThreadManager.cs:326 

Then ctrl-Z to stop.

Not sure what is going on.  Could it be a bug?  One thing I might try
when I get some time is comiling myself as opposed to using Gentoo
portage.  MAybe that could be a problem (I doubt it, but it would be
worth a shot)  Other than that - not quite sure what to do.

Thanks for any input!
-- 
View this message in context: http://www.nabble.com/Need-help-with-mono-debugger-tp22509411p22519726.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list