Browse Source

Debugger Interop updated to Beta 2

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@94 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
David Srbecký 21 years ago
parent
commit
f6ddb57440
  1. BIN
      src/AddIns/Misc/Debugger/Debugger.Core/RequiredLibraries/Debugger.Interop.dll
  2. BIN
      src/AddIns/Misc/Debugger/Debugger.Core/RequiredLibraries/Debugger.Interop.pdb
  3. 26
      src/AddIns/Misc/Debugger/Debugger.Interop/Project/Src/AssemblyInfo.il
  4. 328
      src/AddIns/Misc/Debugger/Debugger.Interop/Project/Src/DebuggerInterop.Core.il
  5. 2
      src/AddIns/Misc/Debugger/Debugger.Interop/Project/Src/make_cor.bat

BIN
src/AddIns/Misc/Debugger/Debugger.Core/RequiredLibraries/Debugger.Interop.dll

Binary file not shown.

BIN
src/AddIns/Misc/Debugger/Debugger.Core/RequiredLibraries/Debugger.Interop.pdb

Binary file not shown.

26
src/AddIns/Misc/Debugger/Debugger.Interop/Project/Src/AssemblyInfo.il

@ -2,20 +2,28 @@
// <owner name="David Srbecký" email="dsrbecky@post.cz"/> // <owner name="David Srbecký" email="dsrbecky@post.cz"/>
// </file> // </file>
// Metadata version: v2.0.50215
.assembly extern mscorlib .assembly extern mscorlib
{ {
.publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
.ver 1:0:5000:0 .ver 2:0:0:0
} }
.assembly Debugger.Interop .assembly Debugger.Interop
{ {
.ver 1:0:0:0 .custom instance void [mscorlib]System.Runtime.InteropServices.ImportedFromTypeLibAttribute::.ctor(string) = ( 01 00 08 43 4F 52 44 42 4C 69 62 00 00 ) // ...CORDBLib..
.custom instance void [mscorlib]System.Runtime.InteropServices.GuidAttribute::.ctor(string) = ( 01 00 24 35 33 64 31 33 36 32 30 2D 66 34 31 37 // ..$53d13620-f417
2D 31 31 64 31 2D 39 37 36 32 2D 61 36 33 38 32 // -11d1-9762-a6382
36 61 34 66 32 35 35 00 00 ) // 6a4f255..
.custom instance void [mscorlib]System.Runtime.InteropServices.TypeLibVersionAttribute::.ctor(int32,
int32) = ( 01 00 01 00 00 00 00 00 00 00 00 00 )
.hash algorithm 0x00008004
.ver 2:0:0:0
} }
.module CORDBLib.dll
.module Debugger.Interop // MVID: {0F507CC5-B630-4DED-BC39-27191862A333}
// MVID: {D99DDAB7-C9D5-462D-9019-F632E9BAF060}
.imagebase 0x00400000 .imagebase 0x00400000
.subsystem 0x00000003 .file alignment 0x00001000
.file alignment 4096 .stackreserve 0x00100000
.corflags 0x00000001 .subsystem 0x0003 // WINDOWS_CUI
.corflags 0x00000001 // ILONLY
// Image base: 0x00F30000

328
src/AddIns/Misc/Debugger/Debugger.Interop/Project/Src/DebuggerInterop.Core.il

@ -1,5 +1,5 @@
// Microsoft (R) .NET Framework IL Disassembler. Version 2.0.41115.19 // Microsoft (R) .NET Framework IL Disassembler. Version 2.0.50215.44
// Copyright (C) Microsoft Corporation. All rights reserved. // Copyright (C) Microsoft Corporation. All rights reserved.
@ -193,177 +193,177 @@
2D 31 31 44 33 2D 38 44 35 42 2D 30 30 31 30 34 // -11D3-8D5B-00104 2D 31 31 44 33 2D 38 44 35 42 2D 30 30 31 30 34 // -11D3-8D5B-00104
42 33 35 45 37 45 46 00 00 ) // B35E7EF.. 42 33 35 45 37 45 46 00 00 ) // B35E7EF..
.custom instance void [mscorlib]System.Runtime.InteropServices.InterfaceTypeAttribute::.ctor(int16) = ( 01 00 01 00 00 00 ) .custom instance void [mscorlib]System.Runtime.InteropServices.InterfaceTypeAttribute::.ctor(int16) = ( 01 00 01 00 00 00 )
.method public hidebysig newslot abstract virtual .method public hidebysig newslot abstract virtual
instance void Breakpoint([in] native int pAppDomain, instance void Breakpoint([in] native int pAppDomain,
[in] native int pThread,
[in] native int pBreakpoint) runtime managed internalcall
{
} // end of method ICorDebugManagedCallback::Breakpoint
.method public hidebysig newslot abstract virtual
instance void StepComplete([in] native int pAppDomain,
[in] native int pThread, [in] native int pThread,
[in] native int pBreakpoint) runtime managed internalcall [in] native int pStepper,
{ [in] valuetype DebuggerInterop.Core.CorDebugStepReason reason) runtime managed internalcall
} // end of method ICorDebugManagedCallback::Breakpoint {
} // end of method ICorDebugManagedCallback::StepComplete
.method public hidebysig newslot abstract virtual
instance void StepComplete([in] native int pAppDomain, .method public hidebysig newslot abstract virtual
[in] native int pThread, instance void Break([in] native int pAppDomain,
[in] native int pStepper, [in] native int thread) runtime managed internalcall
[in] valuetype DebuggerInterop.Core.CorDebugStepReason reason) runtime managed internalcall {
{ } // end of method ICorDebugManagedCallback::Break
} // end of method ICorDebugManagedCallback::StepComplete
.method public hidebysig newslot abstract virtual
.method public hidebysig newslot abstract virtual instance void Exception([in] native int pAppDomain,
instance void Break([in] native int pAppDomain, [in] native int pThread,
[in] native int thread) runtime managed internalcall [in] int32 unhandled) runtime managed internalcall
{ {
} // end of method ICorDebugManagedCallback::Break } // end of method ICorDebugManagedCallback::Exception
.method public hidebysig newslot abstract virtual .method public hidebysig newslot abstract virtual
instance void Exception([in] native int pAppDomain, instance void EvalComplete([in] native int pAppDomain,
[in] native int pThread, [in] native int pThread,
[in] int32 unhandled) runtime managed internalcall [in] native int pEval) runtime managed internalcall
{ {
} // end of method ICorDebugManagedCallback::Exception } // end of method ICorDebugManagedCallback::EvalComplete
.method public hidebysig newslot abstract virtual .method public hidebysig newslot abstract virtual
instance void EvalComplete([in] native int pAppDomain, instance void EvalException([in] native int pAppDomain,
[in] native int pThread, [in] native int pThread,
[in] native int pEval) runtime managed internalcall [in] native int pEval) runtime managed internalcall
{ {
} // end of method ICorDebugManagedCallback::EvalComplete } // end of method ICorDebugManagedCallback::EvalException
.method public hidebysig newslot abstract virtual .method public hidebysig newslot abstract virtual
instance void EvalException([in] native int pAppDomain, instance void CreateProcess([in] native int pProcess) runtime managed internalcall
[in] native int pThread, {
[in] native int pEval) runtime managed internalcall } // end of method ICorDebugManagedCallback::CreateProcess
{
} // end of method ICorDebugManagedCallback::EvalException .method public hidebysig newslot abstract virtual
instance void ExitProcess([in] native int pProcess) runtime managed internalcall
.method public hidebysig newslot abstract virtual {
instance void CreateProcess([in] native int pProcess) runtime managed internalcall } // end of method ICorDebugManagedCallback::ExitProcess
{
} // end of method ICorDebugManagedCallback::CreateProcess .method public hidebysig newslot abstract virtual
instance void CreateThread([in] native int pAppDomain,
.method public hidebysig newslot abstract virtual
instance void ExitProcess([in] native int pProcess) runtime managed internalcall
{
} // end of method ICorDebugManagedCallback::ExitProcess
.method public hidebysig newslot abstract virtual
instance void CreateThread([in] native int pAppDomain,
[in] native int thread) runtime managed internalcall
{
} // end of method ICorDebugManagedCallback::CreateThread
.method public hidebysig newslot abstract virtual
instance void ExitThread([in] native int pAppDomain,
[in] native int thread) runtime managed internalcall [in] native int thread) runtime managed internalcall
{ {
} // end of method ICorDebugManagedCallback::ExitThread } // end of method ICorDebugManagedCallback::CreateThread
.method public hidebysig newslot abstract virtual
instance void ExitThread([in] native int pAppDomain,
[in] native int thread) runtime managed internalcall
{
} // end of method ICorDebugManagedCallback::ExitThread
.method public hidebysig newslot abstract virtual
instance void LoadModule([in] native int pAppDomain,
[in] native int pModule) runtime managed internalcall
{
} // end of method ICorDebugManagedCallback::LoadModule
.method public hidebysig newslot abstract virtual .method public hidebysig newslot abstract virtual
instance void LoadModule([in] native int pAppDomain, instance void UnloadModule([in] native int pAppDomain,
[in] native int pModule) runtime managed internalcall [in] native int pModule) runtime managed internalcall
{ {
} // end of method ICorDebugManagedCallback::LoadModule } // end of method ICorDebugManagedCallback::UnloadModule
.method public hidebysig newslot abstract virtual .method public hidebysig newslot abstract virtual
instance void UnloadModule([in] native int pAppDomain, instance void LoadClass([in] native int pAppDomain,
[in] native int pModule) runtime managed internalcall [in] native int c) runtime managed internalcall
{ {
} // end of method ICorDebugManagedCallback::UnloadModule } // end of method ICorDebugManagedCallback::LoadClass
.method public hidebysig newslot abstract virtual .method public hidebysig newslot abstract virtual
instance void LoadClass([in] native int pAppDomain, instance void UnloadClass([in] native int pAppDomain,
[in] native int c) runtime managed internalcall [in] native int c) runtime managed internalcall
{ {
} // end of method ICorDebugManagedCallback::LoadClass } // end of method ICorDebugManagedCallback::UnloadClass
.method public hidebysig newslot abstract virtual .method public hidebysig newslot abstract virtual
instance void UnloadClass([in] native int pAppDomain, instance void DebuggerError([in] native int pProcess,
[in] native int c) runtime managed internalcall [in] int32 marshal( error) errorHR,
{ [in] unsigned int32 errorCode) runtime managed internalcall
} // end of method ICorDebugManagedCallback::UnloadClass {
} // end of method ICorDebugManagedCallback::DebuggerError
.method public hidebysig newslot abstract virtual
instance void DebuggerError([in] native int pProcess, .method public hidebysig newslot abstract virtual
[in] int32 marshal( error) errorHR, instance void LogMessage([in] native int pAppDomain,
[in] unsigned int32 errorCode) runtime managed internalcall [in] native int pThread,
{ [in] int32 lLevel,
} // end of method ICorDebugManagedCallback::DebuggerError [in] native int pLogSwitchName,
[in] native int pMessage) runtime managed internalcall
.method public hidebysig newslot abstract virtual {
instance void LogMessage([in] native int pAppDomain, } // end of method ICorDebugManagedCallback::LogMessage
[in] native int pThread,
[in] int32 lLevel, .method public hidebysig newslot abstract virtual
[in] native int pLogSwitchName, instance void LogSwitch([in] native int pAppDomain,
[in] native int pMessage) runtime managed internalcall [in] native int pThread,
{ [in] int32 lLevel,
} // end of method ICorDebugManagedCallback::LogMessage [in] unsigned int32 ulReason,
[in] native int pLogSwitchName,
.method public hidebysig newslot abstract virtual [in] native int pParentName) runtime managed internalcall
instance void LogSwitch([in] native int pAppDomain, {
[in] native int pThread, } // end of method ICorDebugManagedCallback::LogSwitch
[in] int32 lLevel,
[in] unsigned int32 ulReason, .method public hidebysig newslot abstract virtual
[in] native int pLogSwitchName, instance void CreateAppDomain([in] native int pProcess,
[in] native int pParentName) runtime managed internalcall
{
} // end of method ICorDebugManagedCallback::LogSwitch
.method public hidebysig newslot abstract virtual
instance void CreateAppDomain([in] native int pProcess,
[in] native int pAppDomain) runtime managed internalcall
{
} // end of method ICorDebugManagedCallback::CreateAppDomain
.method public hidebysig newslot abstract virtual
instance void ExitAppDomain([in] native int pProcess,
[in] native int pAppDomain) runtime managed internalcall [in] native int pAppDomain) runtime managed internalcall
{ {
} // end of method ICorDebugManagedCallback::ExitAppDomain } // end of method ICorDebugManagedCallback::CreateAppDomain
.method public hidebysig newslot abstract virtual .method public hidebysig newslot abstract virtual
instance void LoadAssembly([in] native int pAppDomain, instance void ExitAppDomain([in] native int pProcess,
[in] native int pAppDomain) runtime managed internalcall
{
} // end of method ICorDebugManagedCallback::ExitAppDomain
.method public hidebysig newslot abstract virtual
instance void LoadAssembly([in] native int pAppDomain,
[in] native int pAssembly) runtime managed internalcall
{
} // end of method ICorDebugManagedCallback::LoadAssembly
.method public hidebysig newslot abstract virtual
instance void UnloadAssembly([in] native int pAppDomain,
[in] native int pAssembly) runtime managed internalcall [in] native int pAssembly) runtime managed internalcall
{ {
} // end of method ICorDebugManagedCallback::LoadAssembly } // end of method ICorDebugManagedCallback::UnloadAssembly
.method public hidebysig newslot abstract virtual .method public hidebysig newslot abstract virtual
instance void UnloadAssembly([in] native int pAppDomain, instance void ControlCTrap([in] native int pProcess) runtime managed internalcall
[in] native int pAssembly) runtime managed internalcall {
{ } // end of method ICorDebugManagedCallback::ControlCTrap
} // end of method ICorDebugManagedCallback::UnloadAssembly
.method public hidebysig newslot abstract virtual
.method public hidebysig newslot abstract virtual instance void NameChange([in] native int pAppDomain,
instance void ControlCTrap([in] native int pProcess) runtime managed internalcall [in] native int pThread) runtime managed internalcall
{ {
} // end of method ICorDebugManagedCallback::ControlCTrap } // end of method ICorDebugManagedCallback::NameChange
.method public hidebysig newslot abstract virtual .method public hidebysig newslot abstract virtual
instance void NameChange([in] native int pAppDomain, instance void UpdateModuleSymbols([in] native int pAppDomain,
[in] native int pThread) runtime managed internalcall [in] native int pModule,
{ [in] native int pSymbolStream) runtime managed internalcall
} // end of method ICorDebugManagedCallback::NameChange {
} // end of method ICorDebugManagedCallback::UpdateModuleSymbols
.method public hidebysig newslot abstract virtual
instance void UpdateModuleSymbols([in] native int pAppDomain, .method public hidebysig newslot abstract virtual
[in] native int pModule, instance void EditAndContinueRemap([in] native int pAppDomain,
[in] native int pSymbolStream) runtime managed internalcall
{
} // end of method ICorDebugManagedCallback::UpdateModuleSymbols
.method public hidebysig newslot abstract virtual
instance void EditAndContinueRemap([in] native int pAppDomain,
[in] native int pThread,
[in] native int pFunction,
[in] int32 fAccurate) runtime managed internalcall
{
} // end of method ICorDebugManagedCallback::EditAndContinueRemap
.method public hidebysig newslot abstract virtual
instance void BreakpointSetError([in] native int pAppDomain,
[in] native int pThread, [in] native int pThread,
[in] native int pBreakpoint, [in] native int pFunction,
[in] unsigned int32 dwError) runtime managed internalcall [in] int32 fAccurate) runtime managed internalcall
{ {
} // end of method ICorDebugManagedCallback::BreakpointSetError } // end of method ICorDebugManagedCallback::EditAndContinueRemap
.method public hidebysig newslot abstract virtual
instance void BreakpointSetError([in] native int pAppDomain,
[in] native int pThread,
[in] native int pBreakpoint,
[in] unsigned int32 dwError) runtime managed internalcall
{
} // end of method ICorDebugManagedCallback::BreakpointSetError
} // end of class DebuggerInterop.Core.ICorDebugManagedCallback } // end of class DebuggerInterop.Core.ICorDebugManagedCallback
@ -1044,9 +1044,9 @@
} // end of method ICorDebugStepper::Step } // end of method ICorDebugStepper::Step
.method public hidebysig newslot abstract virtual .method public hidebysig newslot abstract virtual
instance void StepRange([in] int32 bStepIn, instance void StepRange([in] int32 bStepIn,
[in] native int ranges, [in] native int ranges,
[in] unsigned int32 cRangeCount) runtime managed internalcall [in] unsigned int32 cRangeCount) runtime managed internalcall
{ {
} // end of method ICorDebugStepper::StepRange } // end of method ICorDebugStepper::StepRange
@ -3017,6 +3017,7 @@
.field public static literal valuetype DebuggerInterop.Core.CorDebugInternalFrameType STUBFRAME_APPDOMAIN_TRANSITION = int32(0x00000003) .field public static literal valuetype DebuggerInterop.Core.CorDebugInternalFrameType STUBFRAME_APPDOMAIN_TRANSITION = int32(0x00000003)
.field public static literal valuetype DebuggerInterop.Core.CorDebugInternalFrameType STUBFRAME_LIGHTWEIGHT_FUNCTION = int32(0x00000004) .field public static literal valuetype DebuggerInterop.Core.CorDebugInternalFrameType STUBFRAME_LIGHTWEIGHT_FUNCTION = int32(0x00000004)
.field public static literal valuetype DebuggerInterop.Core.CorDebugInternalFrameType STUBFRAME_FUNC_EVAL = int32(0x00000005) .field public static literal valuetype DebuggerInterop.Core.CorDebugInternalFrameType STUBFRAME_FUNC_EVAL = int32(0x00000005)
.field public static literal valuetype DebuggerInterop.Core.CorDebugInternalFrameType STUBFRAME_INTERNALCALL = int32(0x00000006)
} // end of class DebuggerInterop.Core.CorDebugInternalFrameType } // end of class DebuggerInterop.Core.CorDebugInternalFrameType
.class interface public abstract auto ansi import DebuggerInterop.Core.ICorDebugNativeFrame .class interface public abstract auto ansi import DebuggerInterop.Core.ICorDebugNativeFrame
@ -3344,7 +3345,6 @@
extends [mscorlib]System.Enum extends [mscorlib]System.Enum
{ {
.field public specialname rtspecialname int32 value__ .field public specialname rtspecialname int32 value__
.field public static literal valuetype DebuggerInterop.Core.CorDebugMDAFlags MDA_FLAG_SEVERE = int32(0x00000001)
.field public static literal valuetype DebuggerInterop.Core.CorDebugMDAFlags MDA_FLAG_SLIP = int32(0x00000002) .field public static literal valuetype DebuggerInterop.Core.CorDebugMDAFlags MDA_FLAG_SLIP = int32(0x00000002)
} // end of class DebuggerInterop.Core.CorDebugMDAFlags } // end of class DebuggerInterop.Core.CorDebugMDAFlags

2
src/AddIns/Misc/Debugger/Debugger.Interop/Project/Src/make_cor.bat

@ -0,0 +1,2 @@
tlbimp cordebug.tlb /out:DebuggerInterop.Core.dll /namespace:DebuggerInterop.Core
ildasm DebuggerInterop.Core.dll /OUT=DebuggerInterop.Core.il
Loading…
Cancel
Save