当前位置: 首页>>代码示例>>C#>>正文


C# ICorDebugFunction类代码示例

本文整理汇总了C#中ICorDebugFunction的典型用法代码示例。如果您正苦于以下问题:C# ICorDebugFunction类的具体用法?C# ICorDebugFunction怎么用?C# ICorDebugFunction使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


ICorDebugFunction类属于命名空间,在下文中一共展示了ICorDebugFunction类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: EditAndContinueRemap

 public virtual void EditAndContinueRemap(
     ICorDebugAppDomain appDomain, 
     ICorDebugThread thread, 
     ICorDebugFunction function, 
     bool accurate)
 {
     this.DefaultHandler(appDomain);
 }
开发者ID:krabicezpapundeklu,项目名称:SharpDiag,代码行数:8,代码来源:ManagedCallbackBase.cs

示例2: CorFunction

        public CorFunction(ICorDebugFunction funtion)
        {
            corFunction = funtion;
            ICorDebugModule imodule = null;
            corFunction.GetModule(out imodule);
            module = new CorModule(imodule);
            corFunction.GetToken(out token);
            //corFunction.GetLocalVarSigToken(
            //ICorDebugFunctionBreakpoint breakPoint = null;

            //corFunction.
        }
开发者ID:balaramaraju,项目名称:DotNetProcessViewer,代码行数:12,代码来源:CorFunction.cs

示例3: FunctionRemapOpportunity

        /// <summary>
        /// Finds appropriete SequncePointMap instances and builds SequencePointRemapper, gets new IL offset and call RemapFunction.
        /// </summary>
        public void FunctionRemapOpportunity(ICorDebugAppDomain pAppDomain, ICorDebugThread pThread, ICorDebugFunction pOldFunction, ICorDebugFunction pNewFunction, uint oldILOffset)
        {
            ICorDebugILFrame2 frame = (ICorDebugILFrame2) pThread.GetActiveFrame();

            uint nToken = pOldFunction.GetToken();

            SequencePointRemapper remapper;
            if(!remappers.TryGetValue(nToken,out remapper)){
                throw new KeyNotFoundException("Methods sequence points not found.");
            }
            frame.__RemapFunction(remapper.TranslateILOffset(oldILOffset));
        }
开发者ID:maresja1,项目名称:SDenc,代码行数:15,代码来源:FunctionRemapper.cs

示例4: FunctionRemapOpportunityDebugCallbackEventArgs

		public FunctionRemapOpportunityDebugCallbackEventArgs(ICorDebugAppDomain pAppDomain, ICorDebugThread pThread, ICorDebugFunction pOldFunction, ICorDebugFunction pNewFunction, uint oldILOffset)
			: base(pAppDomain) {
			this.AppDomain = pAppDomain;
			this.Thread = pThread;
			this.OldFunction = pOldFunction;
			this.NewFunction = pNewFunction;
			this.OldILOffset = oldILOffset;
		}
开发者ID:nakijun,项目名称:dnSpy,代码行数:8,代码来源:DebugCallbackEventArgs.cs

示例5: CallFunction

 public static void CallFunction(this ICorDebugEval instance, ICorDebugFunction pFunction, uint nArgs, ICorDebugValue[] ppArgs)
 {
     instance.__CallFunction(pFunction, nArgs, ppArgs);
 }
开发者ID:BahNahNah,项目名称:dnSpy,代码行数:4,代码来源:CorDebugExtensionMethods.generated.cs

示例6: FunctionRemapOpportunity

 public virtual void FunctionRemapOpportunity(
     ICorDebugAppDomain appDomain, 
     ICorDebugThread thread, 
     ICorDebugFunction oldFunction, 
     ICorDebugFunction newFunction, 
     int oldIlOffset)
 {
     this.DefaultHandler(appDomain);
 }
开发者ID:krabicezpapundeklu,项目名称:SharpDiag,代码行数:9,代码来源:ManagedCallbackBase.cs

示例7: RuntimeFunction

 internal RuntimeFunction(RuntimeModule module, ICorDebugFunction comFunction)
 {
     _module = module;
     _comFunction = comFunction;
     
 }
开发者ID:die-Deutsche-Orthopaedie,项目名称:LiteDevelop,代码行数:6,代码来源:RuntimeFunction.cs

示例8: CorFunctionRemapOpportunityEventArgs

 void ICorDebugManagedCallback2.FunctionRemapOpportunity(ICorDebugAppDomain appDomain,
                                                                ICorDebugThread thread,
                                                                ICorDebugFunction oldFunction,
                                                                ICorDebugFunction newFunction,
                                                                uint oldILoffset)
 {
     HandleEvent(ManagedCallbackType.OnFunctionRemapOpportunity,
                               new CorFunctionRemapOpportunityEventArgs(appDomain == null ? null : new CorAppDomain(appDomain),
                                                                        thread == null ? null : new CorThread(thread),
                                                                        oldFunction == null ? null : new CorFunction(oldFunction),
                                                                        newFunction == null ? null : new CorFunction(newFunction),
                                                                        (int)oldILoffset,
                                                                        ManagedCallbackType.OnFunctionRemapOpportunity));
 }
开发者ID:fedorw,项目名称:monodevelop,代码行数:14,代码来源:Debugger.cs

示例9: DebugFunction

 public DebugFunction(ICorDebugFunction function)
 {
     _function = function;
 }
开发者ID:anvaka,项目名称:slinject,代码行数:4,代码来源:DebugFunction.cs

示例10: FunctionRemapComplete

		public void FunctionRemapComplete(ICorDebugAppDomain pAppDomain, ICorDebugThread pThread, ICorDebugFunction pFunction)
		{
			EnterCallback("FunctionRemapComplete", pThread);
			
			ExitCallback();
		}
开发者ID:2594636985,项目名称:SharpDevelop,代码行数:6,代码来源:ManagedCallback.cs

示例11: EditAndContinueRemap

            public void EditAndContinueRemap(ICorDebugAppDomain pAppDomain, ICorDebugThread pThread, ICorDebugFunction pFunction, int fAccurate)
            {
                try
                {
                    _EnterCallback();

                    _CallbackNotImplemented();

                    _CallbackEvent("EditAndContinueRemap");
                }
                catch (Exception e)
                {
                    _CallbackException(e);
                }
            }
开发者ID:erisonliang,项目名称:qizmt,代码行数:15,代码来源:Program.cs

示例12: FunctionRemapOpportunity

            public void FunctionRemapOpportunity(ICorDebugAppDomain pAppDomain, ICorDebugThread pThread, ICorDebugFunction pOldFunction, ICorDebugFunction pNewFunction, uint oldILOffset)
            {
                try
                {
                    _EnterCallback();

                    _CallbackNotImplemented();

                    _CallbackEvent("FunctionRemapOpportunity");
                }
                catch (Exception e)
                {
                    _CallbackException(e);
                }
            }
开发者ID:erisonliang,项目名称:qizmt,代码行数:15,代码来源:Program.cs

示例13: EditAndContinueRemapDebugCallbackEventArgs

		public EditAndContinueRemapDebugCallbackEventArgs(ICorDebugAppDomain pAppDomain, ICorDebugThread pThread, ICorDebugFunction pFunction, int fAccurate)
			: base(pAppDomain) {
			this.AppDomain = pAppDomain;
			this.Thread = pThread;
			this.Function = pFunction;
			this.Accurate = fAccurate != 0;
		}
开发者ID:nakijun,项目名称:dnSpy,代码行数:7,代码来源:DebugCallbackEventArgs.cs

示例14: FunctionRemapOpportunity

		public void FunctionRemapOpportunity(ICorDebugAppDomain pAppDomain, ICorDebugThread pThread, ICorDebugFunction pOldFunction, ICorDebugFunction pNewFunction, uint oldILOffset)
		{
			ManagedCallback managedCallback = GetProcessCallbackInterface("FunctionRemapOpportunity", pAppDomain);
			if (managedCallback != null) {
				managedCallback.FunctionRemapOpportunity(pAppDomain, pThread, pOldFunction, pNewFunction, oldILOffset);
			}
		}
开发者ID:kingjiang,项目名称:SharpDevelopLite,代码行数:7,代码来源:ManagedCallbackSwitch.cs

示例15: FunctionRemapComplete

		public void FunctionRemapComplete(ICorDebugAppDomain pAppDomain, ICorDebugThread pThread, ICorDebugFunction pFunction)
		{
			ManagedCallback managedCallback = GetProcessCallbackInterface("FunctionRemapComplete", pAppDomain);
			if (managedCallback != null) {
				managedCallback.FunctionRemapComplete(pAppDomain, pThread, pFunction);
			}
		}
开发者ID:kingjiang,项目名称:SharpDevelopLite,代码行数:7,代码来源:ManagedCallbackSwitch.cs


注:本文中的ICorDebugFunction类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。