如何从ASP.net应用程序调试常规本机DLL [英] How to debug regular native DLL from ASP.net application

查看:89
本文介绍了如何从ASP.net应用程序调试常规本机DLL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我创建了常规DLL VC ++,并通过使用
在ASP.net应用程序中使用了该dll. DLLImport属性.从ASP.net应用程序调用时,dll函数遇到一些异常.当ASP.net应用程序部署在IIS上且ASP.net应用程序未部署在IIS上时,任何人都可以提供从ASP.net应用程序调试本机dll的提示.


在此先感谢.
ABM

Hi All,

I create regular dll VC++ and used this dll in ASP.net application by using
DLLImport attribute. I am facing some exception in dll function when called from ASP.net application. Please anybody can give the hint of debugging native dll from ASP.net application when ASP.net application is deployed on IIS and when ASP.net application not deployed on IIS.


Thanks in Advance.
ABM

推荐答案

您可以将VC ++的VS项目附加到计算机上的ASPNET_WP进程. 然后应该击中VC ++代码中的断点.
You can attach the VS project for the VC++ to the ASPNET_WP process on your machine.
Break points in the VC++ code should then get hit.


这篇关于如何从ASP.net应用程序调试常规本机DLL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆