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