CnPack Forum


 
Subject: 请问此类专家包该如何调试?
wzh
新警察
Rank: 1



UID 12
Digest Posts 0
Credits 7
Posts 7
点点分 7
Reading Access 10
Registered 2003-1-17
Status Offline
Post at 2003-1-17 21:01  Profile | Blog | P.M. 
请问此类专家包该如何调试?

如题,多谢!
Top
zjy
管理员
Rank: 9Rank: 9Rank: 9



UID 2
Digest Posts 6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
Post at 2003-1-19 15:12  Profile | Site | Blog | P.M. 
通常可用Delphi的调试器或使用日志型调试工具来调试。

使用Delphi调试器时将专家编译成DLL,将DLL的Host程序设置为Delphi32.exe,在IDE中启动另一个Delphi进程,象调试普通的DLL一样来调试专家。D6以上版本还支持包调试。

如果用日志型调试,可使用GExperts的调试工具GDebug、Overseer、CodeSite或普通的在代码中插入Writeln,写调试日志文件等方法,在专家代码中插入调试语句,进行调试。

CnPack的专家包主要是使用日志方式来调试的,用的是Overseer。由于Delphi在调试DLL库时经常加载不了符号信息,有时候我也用SoftIce来调试(研究中)。




Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6756
Posts 3554
点点分 6756
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2003-1-19 16:06  Profile | Blog | P.M. 
启动俩Delphi???
救命!我的破机器啊!
Top
 




All times are GMT++8, the time now is 2024-4-18 22:54

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.005835 second(s), 7 queries , Gzip enabled

Clear Cookies - Contact Us - CnPack Website - Archiver - WAP