Example #1
0
 public void Breakpoint(System.IntPtr pAppDomain, System.IntPtr pThread, System.IntPtr pBreakpoint)
 {
     Call(delegate {
         callbackSwitch.Breakpoint(
             MTA2STA.MarshalIntPtrTo <ICorDebugAppDomain>(pAppDomain),
             MTA2STA.MarshalIntPtrTo <ICorDebugThread>(pThread),
             pBreakpoint                     // Do not marshal this one - it fails in .NET 1.1
             );
     });
 }
Example #2
0
 public void Breakpoint(System.IntPtr pAppDomain, System.IntPtr pThread, System.IntPtr pBreakpoint)
 {
     Call(delegate {
         callbackSwitch.Breakpoint(
             MTA2STA.MarshalIntPtrTo <ICorDebugAppDomain>(pAppDomain),
             MTA2STA.MarshalIntPtrTo <ICorDebugThread>(pThread),
             // This fails in .NET 1.1:
             MTA2STA.MarshalIntPtrTo <ICorDebugBreakpoint>(pBreakpoint)
             );
     });
 }