如何使用 Visual Studio 调试 ISAPI [英] How to debug ISAPI using Visual Studio

查看:37
本文介绍了如何使用 Visual Studio 调试 ISAPI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

作为标题,我朋友的环境是Windows 2003 server.他附加了 IIS 进程并在应该运行的代码上设置了断点,但 VS 根本没有停止.ISAPI 是用 VC++ 编写的.

as title, my friend's environment is Windows 2003 server. He attached the IIS process and set the breaking points at codes supposed to run, but VS doesn't stop at all. The ISAPI is written with VC++.

他需要设置什么设置吗?

Is there any setting he need to set up?

谢谢.

推荐答案

Visual Studio 可以调试各种类型的代码:Native、Script、Managed、Silverlight 等.您需要确保在附加时附加到:框包含本机代码".

Visual studio can debug various types of Code: Native, Script, Managed, Silverlight etc. You need to ensure that when you attach that the Attach To: box contains "Native code".

如果有多个 w3wp.exe 实例,您还需要确保附加到正确的实例.

You also need to be sure you are attaching to the correct instance of w3wp.exe if there is more than one.

这篇关于如何使用 Visual Studio 调试 ISAPI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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