Beispiel #1
0
 public void ExitProcess(System.IntPtr pProcess)
 {
     Call(delegate {
         callbackSwitch.ExitProcess(
             MTA2STA.MarshalIntPtrTo <ICorDebugProcess>(pProcess)
             );
     });
 }
Beispiel #2
0
 public void ControlCTrap(System.IntPtr pProcess)
 {
     Call(delegate {
         callbackSwitch.ControlCTrap(
             MTA2STA.MarshalIntPtrTo <ICorDebugProcess>(pProcess)
             );
     });
 }
Beispiel #3
0
 public void UnloadClass(System.IntPtr pAppDomain, System.IntPtr c)
 {
     Call(delegate {
         callbackSwitch.UnloadClass(
             MTA2STA.MarshalIntPtrTo <ICorDebugAppDomain>(pAppDomain),
             MTA2STA.MarshalIntPtrTo <ICorDebugClass>(c)
             );
     });
 }
Beispiel #4
0
 public void DestroyConnection(IntPtr pProcess, uint dwConnectionId)
 {
     Call(delegate {
         callbackSwitch.DestroyConnection(
             MTA2STA.MarshalIntPtrTo <ICorDebugProcess>(pProcess),
             dwConnectionId
             );
     });
 }
Beispiel #5
0
 public void Break(System.IntPtr pAppDomain, System.IntPtr pThread)
 {
     Call(delegate {
         callbackSwitch.Break(
             MTA2STA.MarshalIntPtrTo <ICorDebugAppDomain>(pAppDomain),
             MTA2STA.MarshalIntPtrTo <ICorDebugThread>(pThread)
             );
     });
 }
Beispiel #6
0
 public void ExitAppDomain(System.IntPtr pProcess, System.IntPtr pAppDomain)
 {
     Call(delegate {
         callbackSwitch.ExitAppDomain(
             MTA2STA.MarshalIntPtrTo <ICorDebugProcess>(pProcess),
             MTA2STA.MarshalIntPtrTo <ICorDebugAppDomain>(pAppDomain)
             );
     });
 }
Beispiel #7
0
 public void UnloadAssembly(System.IntPtr pAppDomain, System.IntPtr pAssembly)
 {
     Call(delegate {
         callbackSwitch.UnloadAssembly(
             MTA2STA.MarshalIntPtrTo <ICorDebugAppDomain>(pAppDomain),
             MTA2STA.MarshalIntPtrTo <ICorDebugAssembly>(pAssembly)
             );
     });
 }
Beispiel #8
0
 public void UnloadModule(System.IntPtr pAppDomain, System.IntPtr pModule)
 {
     Call(delegate {
         callbackSwitch.UnloadModule(
             MTA2STA.MarshalIntPtrTo <ICorDebugAppDomain>(pAppDomain),
             MTA2STA.MarshalIntPtrTo <ICorDebugModule>(pModule)
             );
     });
 }
Beispiel #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)
             );
     });
 }
Beispiel #10
0
 public void DebuggerError(System.IntPtr pProcess, int errorHR, uint errorCode)
 {
     Call(delegate {
         callbackSwitch.DebuggerError(
             MTA2STA.MarshalIntPtrTo <ICorDebugProcess>(pProcess),
             errorHR,
             errorCode
             );
     });
 }
Beispiel #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)
             );
     });
 }
Beispiel #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
             );
     });
 }
Beispiel #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
             );
     });
 }
Beispiel #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)
             );
     });
 }
Beispiel #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)
             );
     });
 }
Beispiel #16
0
 public void CreateConnection(IntPtr pProcess, uint dwConnectionId, IntPtr pConnName)
 {
     Call(delegate {
         callbackSwitch.CreateConnection(
             MTA2STA.MarshalIntPtrTo <ICorDebugProcess>(pProcess),
             dwConnectionId,
             pConnName
             );
     });
 }
Beispiel #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
             );
     });
 }
Beispiel #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
             );
     });
 }
Beispiel #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
             );
     });
 }
Beispiel #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
             );
     });
 }
Beispiel #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
             );
     });
 }
Beispiel #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)
             );
     });
 }
Beispiel #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)
             );
     });
 }
Beispiel #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
             );
     });
 }