远程调试 Visual Studio 2010:断点不加载
我正在尝试远程调试我的 Web 部件。我可以成功附加到远程进程,但我的断点未加载。谁能帮助我吗?
PS 我已经检查了“模块”,但我的程序集没有加载到那里。
PPS 我的 .dll 是 GAC 部署的,我是开发人员和服务器的管理员。
PPS .pdb 文件位于应用程序的 bin 文件夹中:inetpub/.../9090/bin 我想知道是否可以强制“模块”加载给定的 .dll。是吗?
I'm trying to remote debug my webpart. I can successfully attach to the remote process but my breakpoints do not load. Can anyone help me?
PS I've checked the "modules" but my assembly is not loaded there.
PPS My .dll is GAC deployed and I am the admin of both the dev and server.
PPS The .pdb files are on the bin folder of the application: inetpub/.../9090/bin
I was wondering if I can force the "modules" to load a given .dll. Is it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
目标 Web 应用程序的
web.config
中是否启用了调试?http://msdn.microsoft.com/en -us/library/e8z01xdh%28v=vs.80%29.aspx
更新
http://www.wintellect.com/CS/blogs/jrobbins/archive/2009/05 /11/pdb-files-what-every-developer-must-know.aspx
关于 PDB 加载的部分说:
您需要将 PDB 移动到 GAC 中的同一文件夹中,或者移动到构建程序集的同一路径中。
使用此方法可以查看 GAC 文件夹
http://blogs.msdn.com/b/johnwpowell/archive/2009/01/14/how-to-copy-an- assembly-from-the-gac.aspx< /a>
Is debugging enabled in the
web.config
of the target web application?http://msdn.microsoft.com/en-us/library/e8z01xdh%28v=vs.80%29.aspx
UPDATE
http://www.wintellect.com/CS/blogs/jrobbins/archive/2009/05/11/pdb-files-what-every-developer-must-know.aspx
The section on PDB loading says:
You need to move the PDB into the same folder in the GAC, or into the same path that you built the assembly from.
Use this method to enable viewing the GAC folders
http://blogs.msdn.com/b/johnwpowell/archive/2009/01/14/how-to-copy-an-assembly-from-the-gac.aspx