gpt4 book ai didi

.net - Visual Studio 2010断点未加载任何符号

转载 作者:行者123 更新时间:2023-12-02 09:22:28 27 4
gpt4 key购买 nike

我确实有一个问题,我有一个 VS 2010 解决方案,它突然停止对引用项目的调试,我只能调试启动项目,但不能调试添加为引用的项目。这很奇怪,因为我创建了一个新的解决方案,添加了两个项目,然后我成功地调试了两个项目,这样做是为了查看我的 VS 配置是否错误,但是没有,这个特定解决方案上的某些内容不允许我调试引用项目。

我已从该论坛和 Microsoft 等其他来源阅读了所有可能的解决方案。如果我进入菜单“调试”->“窗口”->“模块”,我想要调试的模块不在列表中。 screen 1 my running modules

所以,我读了微软的页面,说如何手动加载符号,我做了以下操作:

To specify a directory where symbol files are located

On the Tools menu, choose Options.

In the Options dialog box, open the Debugging node and then click Symbols.

On the Symbols page, there is a box that states Symbol file (.pdb) locations. Above the box are four icons.

Click the folder icon.

Editable text appears in the Symbol file (.pdb) locations box.

Type the directory path. Statement completion helps you find the correct format.

If you are doing remote debugging, symbol files and symbol server caches for managed code must be located on the remote computer. Symbol files and symbol server caches for native code must be located on the local computer.

If you are using symbols on a remote symbol server, you can improve performance by specifying a local directory that symbols can be copied to. To do this, type a path in the Cache symbols in this directory box. If you are debugging a program on a remote computer, the cache directory refers to the directory on the remote computer.

Click OK.

这不起作用,我仍然看不到我想要加载的模块,所以...... friend 们有什么想法吗?

最佳答案

为了明确起见,还要检查一件事:确保将配置设置为“调试”而不是“发布”。您可以在“Release”模式下调试启动项目,但不能调试引用的类库。

关于.net - Visual Studio 2010断点未加载任何符号,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7734246/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com