CnPack Forum


 
Subject: [D7] [8.2.356] Delay of about 15 seconds when reaching first breakpoint
Edelcom
普通灌水员
Rank: 2


UID 37197
Digest Posts 0
Credits 51
Posts 18
点点分 51
Reading Access 10
Registered 2008-2-8
Location Belgium
Status Offline
Post at 2008-2-8 18:27  Profile | Site | Blog | P.M. 
[D7] [8.2.356] Delay of about 15 seconds when reaching first breakpoint

Hi,

Ever since CnPack has automatically installed version 8.2.356, I get a more than 15 seconds delay when the first breakpoint is reached in debug mode.
After this the message 'Source code is changed, do you want to recompile the project' message is displayed.

Steps to reproduce:
- set a breakpoint anywhere in your source
- run the project F9
When the breakpoint is reached I get the above freeze and question.

It might not be CnPacks, but, as far as I can remember, this component is the only one which has been changed in my environment the last few weeks.

Anyone any idea ?

thanks,
Erik


p.s. Great product !!!
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-2-14 09:23  Profile | Blog | P.M. 
Thanks for your report. It's a tricky problem. We just have no clue to investigate it for it does not reproduce in our environment.

If you disable CnWizards from start menu and this problem can disappear, it should be a bug of CnWizards.

Could you help us to "debug" it?
http://bbs.cnpack.org/viewthread.php?tid=958&extra=page%3D1
Top
Edelcom
普通灌水员
Rank: 2


UID 37197
Digest Posts 0
Credits 51
Posts 18
点点分 51
Reading Access 10
Registered 2008-2-8
Location Belgium
Status Offline
Post at 2008-3-12 22:57  Profile | Site | Blog | P.M. 
Hi,

It certainly is CnPack which is cuasing the problem.

If I disable CnPack, the delay is not present anymore.

I attached the zipped debug file.

Steps taken:

Started the DebugViewer
Started Delphi - my project was automatically loaded
Set a breakpoint
Run my program
Reached the breakpoint
The prompt which asked me to save my changed source was presented, but stepping through it, was immediatly !
I stopped my program.
Typed a space in my source and ran the program again.
The breakpoint was reached a second time
Once again the prompt was asked if I would like to save my changed source code, but after answering Yes, the delay of 10 seconds (or more) wa present now.
Stopped my program.
Stopped Delphi

Zipped the results.

Now the prompt to save my source should not occur because Delphi should save changed source.

I hope you find the problem, because duing development such a delay is very, very annoying.

Thanks for you help.


Attachment: 2008-03-12 Erik De Laet.zip (2008-3-12 22:57, 29.32 K)
Download count 571
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-12 23:57  Profile | Blog | P.M. 
Thanks. we'll check it.
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-23 00:56  Profile | Blog | P.M. 
After some investigation, I think the prompt to save your source, which should not occur, comes from our Version Enhancement Wizard.

It can auto add version number to project after compiling.

Now I do not have a clue about where the delay comes from. But could you disable version enhancement wizard in CnWizards' setting dialog if you did not need auto version number increment? Maybe it can do some help to avoid the delay.

Top
Edelcom
普通灌水员
Rank: 2


UID 37197
Digest Posts 0
Credits 51
Posts 18
点点分 51
Reading Access 10
Registered 2008-2-8
Location Belgium
Status Offline
Post at 2008-3-29 21:44  Profile | Site | Blog | P.M. 
Delay is gone ... thanks

You are correct: disabling the Version Enhancement Wizard removes the delay completely.

Thanks for the support: it is really appreciated here from the other end of the globe   

Any new features planned for your marvelous components ?
Top
 




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

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

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