这是什么意思?要求源文件与原始版本完全匹配 [英] what does it mean? Require source files to exactly match the original version

查看:2322
本文介绍了这是什么意思?要求源文件与原始版本完全匹配的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此调试选项:要求源文件与原始版本完全匹配

this debugging option: Require source files to exactly match the original version

这是从MSDN:


告诉调试器来验证源文件是否与用于构建正在调试的可执行文件的源代码的版本相匹配。如果版本不匹配,系统将提示您找到匹配的源。如果找不到匹配的源码,调试过程中不会显示源代码。

Tells the debugger to verify that a source file matches the version of the source code used to build the executable you are debugging. If the version does not match, you will be prompted to find matching source. If matching source is not found, the source code will not be displayed during debugging.

但是我仍然不明白!那么最好选择它还是取消选择?

But still I do not understand it! So is it better to select it or unselect it?

推荐答案

情况:
你已经在编辑器中加载了一个版本的文件不同于编译为可执行文件的文件。

Situation: You have loaded in your editor a version of a file which is different than the one compiled into the executable you are debugging.

如果选择该选项,并尝试调试该文件中的代码,那么您将被提示找到正确的一个,否则您将无法进入或破坏该文件的任何功能。 (我认为弹出对话框还允许您选择使用此版本)。

If the option is selected, and you try to debug code in that file, you will be prompted to find the right one, or else you will not be able to step into or break on any of that file's functions. (I think the pop-up dialog also allows you to select "use this version anyway").

如果未选择该选项,您将看到您的文件。但是,您看到的代码可能与正在执行的代码有很大的不同。断点将显示在与旧文件相匹配的行号上。它可能会以空行,或评论或其他功能完全显示。

If the option is not selected, you will see your version of the file. However, the code you see may be very different from the code that is executing. The breakpoint will be displayed on the line number matching the old file. It may show up in a blank line, or a comment, or some other function entirely.

一般来说,你应该选择它,以便你知道你是什么看到你正在跑步。

In general, you should select it, so that you know that what you are seeing is what you are running.

这篇关于这是什么意思?要求源文件与原始版本完全匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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