2017-10-09 99 views
2

Normal Estimation Using Integral Images下载的Inaprogram。我想步入computeFeature (output)enter image description here步入(F11)不会在Visual Studio 2015中输入一些函数

该程序不会进入该功能。既不按F11,也不在函数定义的某一行设置断点。但该计划将进入下一个陈述deinitCompute()

Why Visual Studio's debug mode Step Into (F11) sometimes doesn't enter inside some functions?中提到的方法不起作用。 我的Visual Studio 2015选项设置如下所示。 enter image description here

Step into not working, but can force stepping after some asm steps中提到的方法也没有工作。我的Visual Studio 2015 clien属性页面设置如下所示。 enter image description here

Visual Studio 2012 - how to step into (F11) source code中提到的方法也没有工作。 我的Visual Studio 2015中的F11是确定的。 enter image description here

此问题可能会在不同的计算机上重复出现。 如何让Visual Studio直接进入函数computeFeature(output)?

这里是源代码Normal Estimation Using Integral Images和关联的测试数据文件table_scene_mug_stereo_textured.pcd

我在Windows 10 Enterprise上使用Microsoft Visual Studio Enterprise 2015版本14.0.23107.0 D 14REL。

+2

从你的问题中不太清楚,但是如果你试图进入一个没有源代码或调试信息的预编译库的函数,那很可能它根本无法工作,已经在组装视图中。 –

回答

2

VS没有进入函数的一些原因:
1)函数没有调试信息。
在这种情况下,您可能需要将VS设置为汇编语言。

2)包含该功能的文件的调试信息已损坏。
以调试模式重新编译文件。

3)该函数位于库中,没有调试信息。

4)该函数是一个操作系统函数,没有调试信息。

5)您正在发布模式下运行。

6)该函数没有代码,已被删除。
这可能发生取决于您的优化设置。

7)编译器将你的函数转换成“inline”代码(通过优化)。

+0

根据你的清单,我发现我的问题在于第三项。删除库并添加相应的源代码后,我可以最终进入函数。非常感谢你。 –

相关问题