CnPack Forum


 
Subject: 断点位置和程序执行位置不一致
still_alive
新警察
Rank: 1



UID 38877
Digest Posts 0
Credits 4
Posts 1
点点分 4
Reading Access 10
Registered 2008-3-16
Status Offline
Post at 2008-3-16 10:56  Profile | Blog | P.M. 
断点位置和程序执行位置不一致

我的delphi出现断点位置和程序执行位置不一致,这个怎么解决?
就是过程开始在150行,而断点调试从145行就开始了,这样怎么解决阿,我装了cnpack
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2008-3-16 12:16  Profile | Blog | P.M. 
禁用掉cnpack看看问题还在不?
Top
kendling (小冬)
高级版主
Rank: 8Rank: 8
MyvNet


Medal No.1  
UID 703
Digest Posts 5
Credits 978
Posts 580
点点分 978
Reading Access 101
Registered 2005-2-18
Location 广东
Status Offline
Post at 2008-3-16 14:45  Profile | Site | Blog | P.M.  | QQ | Yahoo!
是否在工程里引用了两个文件名相同的单元?
像这样:
{$IFDEF SQL2005}
  SQL2005\SQLUnit,
{$ELSE}
  SQL2000\SQLUnit,
{$ENDIF}




小冬
http://MyvNet.com
Top
wfymqj
灌水科科长
Rank: 3Rank: 3



UID 1023
Digest Posts 0
Credits 178
Posts 70
点点分 178
Reading Access 10
Registered 2005-9-6
Location 湖北
Status Offline
Post at 2008-3-17 15:10  Profile | Blog | P.M. 
是否是程序中注释太多了,注释太多了的话会引起此问题
Top
 




All times are GMT++8, the time now is 2024-11-23 16:41

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

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