コード例 #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 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
             );
     });
 }
コード例 #13
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
             );
     });
 }
コード例 #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 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)
             );
     });
 }
コード例 #18
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
             );
     });
 }
コード例 #19
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
             );
     });
 }
コード例 #20
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
             );
     });
 }
コード例 #21
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
             );
     });
 }
コード例 #22
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
             );
     });
 }
コード例 #23
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)
             );
     });
 }
コード例 #24
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)
             );
     });
 }
コード例 #25
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
             );
     });
 }