Open
Description
I have a test project which I try to debug with Mono.Debugging.Soft:
public static void Main(string[] args)
{
string appName = "ChildAppDomainTest";
AppDomainSetup setup = new AppDomainSetup();
setup.ApplicationBase = AppDomain.CurrentDomain.BaseDirectory;
setup.ApplicationName = appName;
AppDomain newDomain = AppDomain.CreateDomain(appName, AppDomain.CurrentDomain.Evidence, setup);
ChildDomainLogic childDomainProxy = (ChildDomainLogic)newDomain.CreateInstanceAndUnwrap(
typeof(ChildDomainLogic).Assembly.FullName,
typeof(ChildDomainLogic).FullName,
true,
BindingFlags.Default,
null,
new object[] { },
null,
null);
DateTime result = childDomainProxy.Test1();
}
the child domain logic is simple:
public class ChildDomainLogic : MarshalByRefObject
{
public DateTime Test1()
{
Debug.WriteLine("ChildDomainLogic.Test1");
return DateTime.Now;
}
}
If I set a breakpoint into the ChildDomainLogic
it gets hit but the debugger does not resolve it as user code (shown as external code at the Callstack window) and code stepping does not show the execution location.
Metadata
Metadata
Assignees
Labels
No labels