看书时有句话不明白,在P136页中文版。第7章第一节调试
英文原版内容:
When you build an application in debug configuration and execute it in debug mode, more is going on
than the execution of your code. Debug builds maintain symbolic information about your application,
so that the IDE knows exactly what is happening as each line of code is executed. Symbolic information
means keeping track of, for example, the names of variables used in uncompiled code, so they can be
matched to the values in the compiled machine code application, which won’t contain such humanreadable
information. This information is contained in .pdb files, which you may have seen in your
computer’s Debug directories. This enables you to perform many useful operations:不理解下面这句话:.......符号信息意味着跟踪(例如)未编译代码中使用的变量名,这样,它们就可以匹配已编译的机器码应用程序中现有的值,而机器码程序不包含人们易于读取的信息。......疑问如下:
中文版翻译它们是指变量名,还是指符号信息或其他?
现有的值是变量中存储的值还是变量的地址?我理解的这句话的意思是:在调试模式下,编译前程序中的变量,在编译后可以通过符号信息追踪到。可是我又不太确定。请高手指教。
英文原版内容:
When you build an application in debug configuration and execute it in debug mode, more is going on
than the execution of your code. Debug builds maintain symbolic information about your application,
so that the IDE knows exactly what is happening as each line of code is executed. Symbolic information
means keeping track of, for example, the names of variables used in uncompiled code, so they can be
matched to the values in the compiled machine code application, which won’t contain such humanreadable
information. This information is contained in .pdb files, which you may have seen in your
computer’s Debug directories. This enables you to perform many useful operations:不理解下面这句话:.......符号信息意味着跟踪(例如)未编译代码中使用的变量名,这样,它们就可以匹配已编译的机器码应用程序中现有的值,而机器码程序不包含人们易于读取的信息。......疑问如下:
中文版翻译它们是指变量名,还是指符号信息或其他?
现有的值是变量中存储的值还是变量的地址?我理解的这句话的意思是:在调试模式下,编译前程序中的变量,在编译后可以通过符号信息追踪到。可是我又不太确定。请高手指教。
解决方案 »
- 对象调用它的方法,可是在它调用的对象之中如何获得这个对象的属性呢?
- 关于字符串的截断(根据换行符)?
- c#中如何得到触发click事件的对象
- DataGrid与bindingSource绑定,bindingSource是数据源是强类型的实体类集合,如何控制datagrid中显示的列??
- 关于asp.net2.0中调用C++写的com的资源释放问题
- 请教使用C#实现文件复制的问题
- 快帮帮我啊!超时时间已到。在操作完成之前超时时间已过或服务器未响
- 请问printDocument如何使用,谢谢
- 一个性价比极高的问题:等待高手来解答,up的也有分!
- 帮忙解释下一下两段代码有什么区别
- 怎么用C#调用ORACLE存储过程来返回字符串?
- C#能做像家装设计那样图形控制类的软件吗?怎么做?
debug信息一般在对应的.pdb文件中。This information is contained in .pdb files