Esempio n. 1
0
 public void ExitProcess(System.IntPtr pProcess)
 {
     Call(delegate {
         callbackSwitch.ExitProcess(
             MTA2STA.MarshalIntPtrTo <ICorDebugProcess>(pProcess)
             );
     });
 }
Esempio n. 2
0
 public void ControlCTrap(System.IntPtr pProcess)
 {
     Call(delegate {
         callbackSwitch.ControlCTrap(
             MTA2STA.MarshalIntPtrTo <ICorDebugProcess>(pProcess)
             );
     });
 }
Esempio n. 3
0
 public void UnloadClass(System.IntPtr pAppDomain, System.IntPtr c)
 {
     Call(delegate {
         callbackSwitch.UnloadClass(
             MTA2STA.MarshalIntPtrTo <ICorDebugAppDomain>(pAppDomain),
             MTA2STA.MarshalIntPtrTo <ICorDebugClass>(c)
             );
     });
 }
Esempio n. 4
0
 public void DestroyConnection(IntPtr pProcess, uint dwConnectionId)
 {
     Call(delegate {
         callbackSwitch.DestroyConnection(
             MTA2STA.MarshalIntPtrTo <ICorDebugProcess>(pProcess),
             dwConnectionId
             );
     });
 }
Esempio n. 5
0
 public void Break(System.IntPtr pAppDomain, System.IntPtr pThread)
 {
     Call(delegate {
         callbackSwitch.Break(
             MTA2STA.MarshalIntPtrTo <ICorDebugAppDomain>(pAppDomain),
             MTA2STA.MarshalIntPtrTo <ICorDebugThread>(pThread)
             );
     });
 }
Esempio n. 6
0
 public void ExitAppDomain(System.IntPtr pProcess, System.IntPtr pAppDomain)
 {
     Call(delegate {
         callbackSwitch.ExitAppDomain(
             MTA2STA.MarshalIntPtrTo <ICorDebugProcess>(pProcess),
             MTA2STA.MarshalIntPtrTo <ICorDebugAppDomain>(pAppDomain)
             );
     });
 }
Esempio n. 7
0
 public void UnloadAssembly(System.IntPtr pAppDomain, System.IntPtr pAssembly)
 {
     Call(delegate {
         callbackSwitch.UnloadAssembly(
             MTA2STA.MarshalIntPtrTo <ICorDebugAppDomain>(pAppDomain),
             MTA2STA.MarshalIntPtrTo <ICorDebugAssembly>(pAssembly)
             );
     });
 }
Esempio n. 8
0
 public void UnloadModule(System.IntPtr pAppDomain, System.IntPtr pModule)
 {
     Call(delegate {
         callbackSwitch.UnloadModule(
             MTA2STA.MarshalIntPtrTo <ICorDebugAppDomain>(pAppDomain),
             MTA2STA.MarshalIntPtrTo <ICorDebugModule>(pModule)
             );
     });
 }
Esempio n. 9
0
 public void EvalComplete(System.IntPtr pAppDomain, System.IntPtr pThread, System.IntPtr pEval)
 {
     Call(delegate {
         callbackSwitch.EvalComplete(
             MTA2STA.MarshalIntPtrTo <ICorDebugAppDomain>(pAppDomain),
             MTA2STA.MarshalIntPtrTo <ICorDebugThread>(pThread),
             MTA2STA.MarshalIntPtrTo <ICorDebugEval>(pEval)
             );
     });
 }
Esempio n. 10
0
 public void DebuggerError(System.IntPtr pProcess, int errorHR, uint errorCode)
 {
     Call(delegate {
         callbackSwitch.DebuggerError(
             MTA2STA.MarshalIntPtrTo <ICorDebugProcess>(pProcess),
             errorHR,
             errorCode
             );
     });
 }
Esempio n. 11
0
 public void UpdateModuleSymbols(System.IntPtr pAppDomain, System.IntPtr pModule, System.IntPtr pSymbolStream)
 {
     Call(delegate {
         callbackSwitch.UpdateModuleSymbols(
             MTA2STA.MarshalIntPtrTo <ICorDebugAppDomain>(pAppDomain),
             MTA2STA.MarshalIntPtrTo <ICorDebugModule>(pModule),
             MTA2STA.MarshalIntPtrTo <IStream>(pSymbolStream)
             );
     });
 }
Esempio n. 12
0
 public void Exception(System.IntPtr pAppDomain, System.IntPtr pThread, int unhandled)
 {
     Call(delegate {
         callbackSwitch.Exception(
             MTA2STA.MarshalIntPtrTo <ICorDebugAppDomain>(pAppDomain),
             MTA2STA.MarshalIntPtrTo <ICorDebugThread>(pThread),
             unhandled
             );
     });
 }
Esempio n. 13
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
             );
     });
 }
Esempio n. 14
0
 public void MDANotification(IntPtr pController, IntPtr pThread, IntPtr pMDA)
 {
     Call(delegate {
         callbackSwitch.MDANotification(
             MTA2STA.MarshalIntPtrTo <ICorDebugController>(pController),
             MTA2STA.MarshalIntPtrTo <ICorDebugThread>(pThread),
             MTA2STA.MarshalIntPtrTo <ICorDebugMDA>(pMDA)
             );
     });
 }
Esempio n. 15
0
 public void FunctionRemapComplete(IntPtr pAppDomain, IntPtr pThread, IntPtr pFunction)
 {
     Call(delegate {
         callbackSwitch.FunctionRemapComplete(
             MTA2STA.MarshalIntPtrTo <ICorDebugAppDomain>(pAppDomain),
             MTA2STA.MarshalIntPtrTo <ICorDebugThread>(pThread),
             MTA2STA.MarshalIntPtrTo <ICorDebugFunction>(pFunction)
             );
     });
 }
Esempio n. 16
0
 public void CreateConnection(IntPtr pProcess, uint dwConnectionId, IntPtr pConnName)
 {
     Call(delegate {
         callbackSwitch.CreateConnection(
             MTA2STA.MarshalIntPtrTo <ICorDebugProcess>(pProcess),
             dwConnectionId,
             pConnName
             );
     });
 }
Esempio n. 17
0
 public void BreakpointSetError(System.IntPtr pAppDomain, System.IntPtr pThread, System.IntPtr pBreakpoint, uint dwError)
 {
     Call(delegate {
         callbackSwitch.BreakpointSetError(
             MTA2STA.MarshalIntPtrTo <ICorDebugAppDomain>(pAppDomain),
             MTA2STA.MarshalIntPtrTo <ICorDebugThread>(pThread),
             MTA2STA.MarshalIntPtrTo <ICorDebugBreakpoint>(pBreakpoint),
             dwError
             );
     });
 }
Esempio n. 18
0
 public void StepComplete(System.IntPtr pAppDomain, System.IntPtr pThread, System.IntPtr pStepper, CorDebugStepReason reason)
 {
     Call(delegate {
         callbackSwitch.StepComplete(
             MTA2STA.MarshalIntPtrTo <ICorDebugAppDomain>(pAppDomain),
             MTA2STA.MarshalIntPtrTo <ICorDebugThread>(pThread),
             MTA2STA.MarshalIntPtrTo <ICorDebugStepper>(pStepper),
             reason
             );
     });
 }
Esempio n. 19
0
 public void ExceptionUnwind(IntPtr pAppDomain, IntPtr pThread, CorDebugExceptionUnwindCallbackType dwEventType, uint dwFlags)
 {
     Call(delegate {
         callbackSwitch.ExceptionUnwind(
             MTA2STA.MarshalIntPtrTo <ICorDebugAppDomain>(pAppDomain),
             MTA2STA.MarshalIntPtrTo <ICorDebugThread>(pThread),
             dwEventType,
             dwFlags
             );
     });
 }
Esempio n. 20
0
 public void EditAndContinueRemap(System.IntPtr pAppDomain, System.IntPtr pThread, System.IntPtr pFunction, int fAccurate)
 {
     Call(delegate {
         callbackSwitch.EditAndContinueRemap(
             MTA2STA.MarshalIntPtrTo <ICorDebugAppDomain>(pAppDomain),
             MTA2STA.MarshalIntPtrTo <ICorDebugThread>(pThread),
             MTA2STA.MarshalIntPtrTo <ICorDebugFunction>(pFunction),
             fAccurate
             );
     });
 }
Esempio n. 21
0
 public void FunctionRemapOpportunity(IntPtr pAppDomain, IntPtr pThread, IntPtr pOldFunction, IntPtr pNewFunction, uint oldILOffset)
 {
     Call(delegate {
         callbackSwitch.FunctionRemapOpportunity(
             MTA2STA.MarshalIntPtrTo <ICorDebugAppDomain>(pAppDomain),
             MTA2STA.MarshalIntPtrTo <ICorDebugThread>(pThread),
             MTA2STA.MarshalIntPtrTo <ICorDebugFunction>(pOldFunction),
             MTA2STA.MarshalIntPtrTo <ICorDebugFunction>(pNewFunction),
             oldILOffset
             );
     });
 }
Esempio n. 22
0
 public void LogMessage(System.IntPtr pAppDomain, System.IntPtr pThread, int lLevel, System.IntPtr pLogSwitchName, System.IntPtr pMessage)
 {
     Call(delegate {
         callbackSwitch.LogMessage(
             MTA2STA.MarshalIntPtrTo <ICorDebugAppDomain>(pAppDomain),
             MTA2STA.MarshalIntPtrTo <ICorDebugThread>(pThread),
             lLevel,
             MTA2STA.MarshalIntPtrTo <string>(pLogSwitchName),
             MTA2STA.MarshalIntPtrTo <string>(pMessage)
             );
     });
 }
Esempio n. 23
0
 public void LogSwitch(System.IntPtr pAppDomain, System.IntPtr pThread, int lLevel, uint ulReason, System.IntPtr pLogSwitchName, System.IntPtr pParentName)
 {
     Call(delegate {
         callbackSwitch.LogSwitch(
             MTA2STA.MarshalIntPtrTo <ICorDebugAppDomain>(pAppDomain),
             MTA2STA.MarshalIntPtrTo <ICorDebugThread>(pThread),
             lLevel,
             ulReason,
             MTA2STA.MarshalIntPtrTo <string>(pLogSwitchName),
             MTA2STA.MarshalIntPtrTo <string>(pParentName)
             );
     });
 }
Esempio n. 24
0
 public void Exception(IntPtr pAppDomain, IntPtr pThread, IntPtr pFrame, uint nOffset, CorDebugExceptionCallbackType dwEventType, uint dwFlags)
 {
     Call(delegate {
         callbackSwitch.Exception2(
             MTA2STA.MarshalIntPtrTo <ICorDebugAppDomain>(pAppDomain),
             MTA2STA.MarshalIntPtrTo <ICorDebugThread>(pThread),
             MTA2STA.MarshalIntPtrTo <ICorDebugFrame>(pFrame),
             nOffset,
             dwEventType,
             dwFlags
             );
     });
 }