调试/步入MS代码? [英] Debugging/stepping into MS code ?

查看:52
本文介绍了调试/步入MS代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Visual Studio 2015,C ++并尝试调试功能区UI。





我可能只是遗漏了一些明显的东西..我想我记得前段时间能够这么做了。



我试图调试并进入一些微软代码,调试器就是不让我。



有问题的代码是CMFCRibbonGallery代码,它位于



C:\ Program Files (x86)\ Microsoft Visual Studio 14.0\VC\atlmfc\src\mfc\afxribbonpalettegallery.cpp





我处于DEBUG模式,调试信息是程序数据库



我可以在有问题的行上设置断点,但我不能介入,如果我尝试在该文件中设置断点,它说......此文档没有加载符号......



任何提示?

谢谢。



最多



我有什么尝试过:



我尝试了不同的项目设置

Using Visual Studio 2015, C++ and trying to debug the Ribbon UI.


I am probably just missing something obvious... I think I remember being able to do so some time ago.

I have trying to debug and step into some Microsoft code and the debugger just won't let me.

The code in question is the CMFCRibbonGallery code which is under

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\atlmfc\src\mfc\afxribbonpalettegallery.cpp


I am in DEBUG mode and debug info is "Program Database"

I can put a break point on the line in question, but I cannot step in, and if I try to set break points in that file it says "... no symbol has been loaded for this document..."

Any hints ?
Thanks.

Max.

What I have tried:

I tried different project settings

推荐答案

为了能够调试一个你需要PDB文件(程序数据库)和源代码......

如果你还剩下的就是配置VS:在Visual Studio调试器中指定符号(.pdb)和源文件 [ ^ ]
To be able to debug a dll you need PDB files (Program Database) and source code...
If you have both all left is to configure VS: Specify Symbol (.pdb) and Source Files in the Visual Studio Debugger[^]


这篇关于调试/步入MS代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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