[Monodevelop-devel] How does debugging work in MonoDevelop?

Sergey Khabibullin x2bool at gmail.com
Mon May 26 07:37:54 UTC 2014


My understanding that the magic happens when calling this method:
*Runtime.ProcessService.CreateExternalProcessObject(typeof(RemoteExecutor),
executionContext)* where *executionContext* is
*Runtime.ProcessService.GetDebugExecutionMode()*. Is that right?

My guess - it creates an *AppDomain*, and any code executed on that domain
is automatically debuggable.

Given so, how do I create an object of type T inside the domain? I tried to
pass the assembly and type information to *RemoteExecutor* to create the
object using Activator. This approach fails with *FileNotFoundException*:
it can't load the dll where the type T resides for some reason, while the
dll is 100% present.

Could someone explain how to create an object of known type T on the side
of the newly created *AppDomain*?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-devel-list/attachments/20140526/3b43789e/attachment.html>


More information about the Monodevelop-devel-list mailing list