When I run my iOS project in MonoDevelop through the simulator I get the following application output:
Mono.Debugger.Soft.VMDisconnectedException:
Exception of type
‘Mono.Debugger.Soft.VMDisconnectedException’
was thrown. at
Mono.Debugger.Soft.Connection.SendReceive
(CommandSet command_set, Int32
command,
Mono.Debugger.Soft.PacketWriter
packet) [0x00000] in :0 at
Mono.Debugger.Soft.Connection.Type_GetInfo
(Int64 id) [0x00000] in :0 at
Mono.Debugger.Soft.TypeMirror.GetInfo
() [0x00000] in :0
at
Mono.Debugger.Soft.TypeMirror.get_FullName
() [0x00000] in :0
at
Mono.Debugging.Soft.SoftDebuggerSession.HandleEvent
(Mono.Debugger.Soft.Event e, Boolean
dequeuing) [0x00000] in :0 at
Mono.Debugging.Soft.SoftDebuggerSession.HandleEvent
(Mono.Debugger.Soft.Event e) [0x00000]
in :0 at
Mono.Debugging.Soft.SoftDebuggerSession.EventHandler
() [0x00000] in :0
Followed by the app exiting.
There’s some .pngs which i copy over into the application. If I take one png and under its properties if I toggle between ‘Copy Always’ and ‘Copy if Newer’ in its ‘copy to output directory’ field then do a full rebuild the app runs fine. But after I stop running the simulator and try again it quits with the same issue and I have to again toggle the field and reibuild the app.
This is really strange to me, does anyone know how to fix this so I don’t have to keep doing this obscure thing to get the app running?
This issue only happens when in debug mode.
edit: here’s the actual application output:
Thread started:
Mono.Debugger.Soft.VMDisconnectedException:
Exception of type
‘Mono.Debugger.Soft.VMDisconnectedException’
was thrown. at
Mono.Debugger.Soft.Connection.SendReceive
(CommandSet command_set, Int32
command,
Mono.Debugger.Soft.PacketWriter
packet) [0x00000] in :0 at
Mono.Debugger.Soft.Connection.Type_GetInfo
(Int64 id) [0x00000] in :0 at
Mono.Debugger.Soft.TypeMirror.GetInfo
() [0x00000] in :0
at
Mono.Debugger.Soft.TypeMirror.get_FullName
() [0x00000] in :0
at
Mono.Debugging.Soft.SoftDebuggerSession.HandleEvent
(Mono.Debugger.Soft.Event e, Boolean
dequeuing) [0x00000] in :0 at
Mono.Debugging.Soft.SoftDebuggerSession.HandleEvent
(Mono.Debugger.Soft.Event e) [0x00000]
in :0 at
Mono.Debugging.Soft.SoftDebuggerSession.EventHandler
() [0x00000] in :0
I also found that if I make the game update at 30fps instead of 60fps this issue happens far less frequently..
Restaring OSX and clearing out the simulator seems to have done the trick. I’m still not sure what was causing it to begin with.