The $D directive enables or disables the generation of debug information. This information consists of a line-number table for each procedure, which maps object-code addresses into source text line numbers.For units, the debug information is recorded in the unit file along with the unit's object code. Debug information increases the size of unit file and takes up additional memory when compiling programs that use the unit, but it does not affect the size or speed of the executable program.When a program or unit is compiled in the {$D+} state, Delphi's integrated debugger lets you single-step and set breakpoints in that module.
The Include debug info (Project|Options|Linker) and Map file (Project|Options|Linker) options produce complete line information for a given module only if you've compiled that module in the {$D+} state.
The $D switch is usually used in conjunction with the $L switch, which enables and disables the generation of local symbol information for debugging. See also "The generate Turbo Debugger debug info (/V) option" and "Symbol cross-reference information."
The Include debug info (Project|Options|Linker) and Map file (Project|Options|Linker) options produce complete line information for a given module only if you've compiled that module in the {$D+} state.
The $D switch is usually used in conjunction with the $L switch, which enables and disables the generation of local symbol information for debugging. See also "The generate Turbo Debugger debug info (/V) option" and "Symbol cross-reference information."
解决方案 »
- DELPHI中的打印报表设置
- 如何做统一界面的工具栏按钮
- 请教一个小问题,两个语句,一个是update,一个是insert,怎么组成一个事务?
- ADO连接Access数据库的数据读写问题,急啊!!
- 请问谁有7.0的注册文件,发个给我,100分相送
- 如何判断鼠标在一个控件上是按下还是松开(左键)?
- 谁在 Delphi+oracle+ado 下用过odac
- 晕倒,操作系统2000server,现在关机一栏只有注销这么一个,重启和关机选项不见了!
- 招收delphi人员
- comboBox 无法 响应事件
- DELPHI通过ODBC与SQL SERVER连接时的问题(解决给高分)
- why???? help me
选取project\options,在project optios对话框中把linker页面的Map File选项调整为publics,在packages页面内将'build with run-time package'选项取消。然后build.在项目目录下,找到map文件:project1.map