Windows 7 64bit Delphi Debugger Fix / Workaround

本文介绍了一种非官方的方法来解决Delphi 2007和Delphi 2009在Windows 7 64位系统中遇到的调试器故障问题。通过简单的十六进制编辑,可以修改特定DLL文件中的条件跳转指令为无条件跳过,从而避免调试器在运行时进入锁定状态。此外,还提供了一个自动补丁工具,以便用户能够轻松地完成这一修改。

I found a thread about how to fix (ok not official) the Debugger if you run Delphi 2007 or Delphi 2009 on Windows 7 with 64bit. This is from a german Delphi Forum the one of the best forums in the world.

So i tanslated in english:

IT IS YOUR RISK TO DO THIS!!!

1) bordbk***.dll ( bordbk105N.dll – Delphi 2007; bordbk120N.dll – Delphi 2009)

open with HexEditor (make a copy first!!)

2) Search  HEX 01 00 48 74 47 80 3D

3) there is only one(!) HEX 01 00 48 74 47 80 3D  !!!

4) change 74 to EB

5) save

that’s all. now the debugger runs on Windows 7 64bit.

This small hack, change a conditional Jump (JZ also 0×74) in a unconditional jump (JMP or oxEB) so the GetLastError will not be called and the Debugger is not haging in a lock situation.

there is also a thread in english much more details on this .

and thanks to olaf monien for infos

reagards

daniel magin

Think Delphi!

on the you can find now a automatic patch tool. it makes the changes for you with one click.

Thank you vary much for sharing the knowledge. This thing drives me crazy. I forgot how bad things are without debugger.

That’s the way of delphi community

Think Delphi!

 
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值