delphi 有关调试的设置:
(1) 是否集成 Debugger:
tools-->Debugger options--->integerated Debugger 钩选后 Debugger 即生效
[在 OD 中调试 delphi 项目]
预先 delphi 设置:
Project --> options --> Linker 钩选 "include TD32 Debug Info" 和 "include Remote Debug symbols"
使生成的可执行文件包含 debug Info;
在 OD 中, 打开要调试的 delphi 可执行文件, 然后打开 点击菜单 "查看"-->"源文件", 即可在原文件中下断点来调试.
[查看内存数据]
"View CPU" --> "Go to Address" 注意 delphi 的 16 进制表示 $number, 表示 number 是16 进制. 而 VC 中 0x 代表是 16 进制