[英]Troubleshooting Symbol Loading Issues - Visual Studio 2019 - Step Into no longer working
Quite suddenly no symbols are loading correctly for my UWP project in Visual Studio.突然之间,我在 Visual Studio 中的 UWP 项目没有正确加载任何符号。 When I establish a breakpoint, then press Step Into, every time it says that the appropriate symbol is not loaded.
当我建立一个断点,然后按 Step Into 时,每次它都说没有加载适当的符号。
Previously, this was working fine and did not throw these symbol load errors so it seems I must have messed something up but have no clue as to what.以前,这工作正常并且没有抛出这些符号加载错误,所以看来我一定搞砸了,但不知道是什么。
I recently modified my UWP application to include a full trust helper.我最近修改了我的 UWP 应用程序以包含一个完全信任的助手。
I know this is quite vague but wondering where I should start when troubleshooting this kind of issue?我知道这很模糊,但想知道在解决此类问题时应该从哪里开始?
So far I have:到目前为止,我有:
Any ideas as to what I should look into?关于我应该研究什么的任何想法?
The build configuration of the solution or some of your projects within may have changed at some point, it's normally what catches me out.解决方案的构建配置或您的某些项目可能在某些时候发生了变化,这通常是让我感到震惊的地方。
Build Configuration:构建配置:
Open Build \ Configuration Manager
and check the project you're expecting symbols from is set to a debug based configuration.打开
Build \ Configuration Manager
并检查您期望符号的项目是否设置为基于调试的配置。 Symbols are not included in release builds by default.默认情况下,符号不包含在发布版本中。
Project Configuration:项目配置:
Open Project \ {ProjectName} Properties \ Build \ Output \ Advanced...
and ensure that debugging information is not set to 'None' ('Pdb-only' or 'Portable' is fine)打开
Project \ {ProjectName} Properties \ Build \ Output \ Advanced...
并确保调试信息未设置为“None”(“Pdb-only”或“Portable”都可以)
Note: I don't have the reputation to post this as a comment yet, sorry!注意:我还没有发表评论的声誉,对不起!
You could check the following steps to do this.您可以检查以下步骤来执行此操作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.