我使用的是 Visual Studio 2010。我主要使用 Windows 服务和 Web 服务。我使用 IIS6 w/网站指向我的项目的 bin/debug 版本、Windows 7、C#...不确定还有哪些其他相关信息...无论如何..问题是为了调试我必须复制过来PDB 文件到临时 asp.net 目录
每次我重建项目(很大)时,我都必须深入到 windows/ms.net/framework/v4/temp/root/[random] 目录...其中我必须打开其中保存构建的 dll 的 50 个随机命名的目录中的每一个,并且必须将 PDB 文件从项目的 /bin/debug 目录复制到每个相应的 dll 文件夹。不用说,这导致我比应有的速度老得更快。
如果我不这样做,那么当我附加到远程进程进行调试并设置断点时...我会得到一个圆圈而不是一个点作为断点,它会显示有关未加载符号的信息。
我的同事说这是一个 Visual Studio x64 错误,但我认为这是一个错误的构建配置。有什么想法吗?让我知道您是否需要更多信息,我不确定出了什么问题,所以如果解释有点不稳定,我深表歉意,谢谢
I'm using Visual Studio 2010. I work with mostly windows services and web services. I use IIS6 w/web sites pointed at my project's bin/debug build, Windows 7, C#...not sure what other info will be relevant...anyway..the problem is that in order to debug I have to copy over PDB files to the temp asp.net dirs
Every time I rebuild my project (which is huge), I have to drill down into the windows/ms.net/framework/v4/temp/root/[random] directory...wherein I must open up each of the 50-some randomly named directories in there that hold the built dll's, and I must copy the PDB files from my project's /bin/debug directory to each respective dll folder. Needless to say this is causing me to grow old faster than I should be.
If I don't do this, then when I attach to remote process for debugging and set a breakpoint...I get a circle instead of a dot for a breakpoint and it says something about symbols not loaded.
My co-worker says this is a visual studio x64 bug but I think it's a build configuration done wrong. Any ideas? Lemme know if you need more information, I'm not sure what's wrong so I apologize if the explanation is a little wonky, thanks
发布评论
评论(1)
确保您没有在“发布模式”下编译项目。
Make sure you are not compiling the project in "Release Mode.