为什么Visual Studio 2010无法找到/打开PDB文件? [英] Why is Visual Studio 2010 not able to find/open PDB files?

查看:104
本文介绍了为什么Visual Studio 2010无法找到/打开PDB文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在VS 2010中使用OpenCV.我是一个业余爱好者,我正在从OpenCV Wiki学习入门.但是,当尝试调试我的项目时,出现以下错误:

I am trying to use OpenCV in VS 2010. I am an amateur, and I am learning first steps from the OpenCV wiki. However, when trying to debug my project, I get the following errors:

'C:\ Windows \ SysWOW64 \ ntdll.dll',无法找到或打开PDB文件 'C:\ Windows \ SysWOW64 \ kernel32.dll',无法找到或打开PDB文件 'C:\ Windows \ SysWOW64 \ kernellbase.dll',找不到或打开PDB文件

'C:\Windows\SysWOW64\ntdll.dll', Cannot find or open the PDB file 'C:\Windows\SysWOW64\kernel32.dll', Cannot find or open the PDB file 'C:\Windows\SysWOW64\kernellbase.dll', Cannot find or open the PDB file

我将这些文件放在正确的目录中,为什么它不能打开它们?我该怎么办才能解决问题?

I have those files in the right directory, so why can't it open them? What should I do to fix the problem?

推荐答案

首先更改以下参数:

工具->选项->调试->符号->服务器->是

然后按 Ctrl + F5 ,您会发现很棒的事情.

Then press Ctrl+F5 and you will see amazing things.

这篇关于为什么Visual Studio 2010无法找到/打开PDB文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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