发现源代码统计的一个错误
CnPack 错误报告。
描述:
使用源代码统计时,发现如果一个工程下有许多文件,或是统计大型IntraWeb项目时,会出错。我写的那个网站包含300多个pas,统计时刚开始很流畅,统计到100多个后就卡在那里,半天不见动静,然后delphi自动关闭了。我用delphi7,IntraWeb6
错误细节:
该错误有 80% 的概率可重现。
该错误在多台计算机上可重现。
步骤:
1. 用delphi7打开一个包含许多pas文件的IntraWeb工程,100个pas以上就足够了
2. 在CnPack菜单下选择源代码统计的功能
3. 对整个工程进行统计
4. 如果工程足够大,统计时就卡住了
设置:
OS: Windows XP 5.1 (Build 2600: Service Pack 2)
CnWizards: CnWizards_D7.dll Ver: 0.8.0.217 Build 2006.08.15
IDE: ideD700
ComCtl32: 5.82.2900.2180
CnPack IDE 专家启用状态:
1 = CnMessageBoxWizard
1 = CnComponentSelector
1 = CnTabOrderWizard
1 = CnBookmarkWizard
1 = CnSrcTemplate
1 = CnEditorWizard
1 = CnMsdnWizard
1 = CnPas2HtmlWizard
1 = CnReplaceWizard
1 = CnSourceDiffWizard
1 = CnStatWizard
1 = CnPrefixWizard
1 = CnAlignSizeWizard
1 = CnCorPropWizard
1 = CnProjectExtWizard
1 = CnCommentCropperWizard
1 = CnRepositoryMenuWizard
1 = CnExplorerWizard
1 = CnFilesSnapshotWizard
1 = CnProcListWizard
1 = CnUsesCleaner
1 = CnIdeEnhanceMenuWizard
1 = CnSrcEditorEnhance
1 = CnFormEnhanceWizard
1 = CnPaletteEnhanceWizard
1 = CnCpuWinEnhanceWizard
1 = CnWinTopRoller
1 = CnInputHelper
1 = CnSourceHighlight
1 = CnDUnitWizard
1 = CnIniFilerWizard
1 = CnMemProfWizard
CnPack IDE 专家创建状态:
1 = TCnMessageBoxWizard
1 = TCnComponentSelector
1 = TCnTabOrderWizard
1 = TCnBookmarkWizard
1 = TCnSrcTemplate
1 = TCnEditorWizard
1 = TCnMsdnWizard
1 = TCnPas2HtmlWizard
1 = TCnReplaceWizard
1 = TCnSourceDiffWizard
1 = TCnStatWizard
1 = TCnPrefixWizard
1 = TCnSrcEditorEnhance
1 = TCnFormEnhanceWizard
1 = TCnAlignSizeWizard
1 = TCnPaletteEnhanceWizard
1 = TCnCorPropWizard
1 = TCnProjectExtWizard
1 = TCnCommentCropperWizard
1 = TCnCpuWinEnhanceWizard
1 = TCnRepositoryMenuWizard
1 = TCnDUnitWizard
1 = TCnIniFilerWizard
1 = TCnMemProfWizard
1 = TCnExplorerWizard
1 = TCnFilesSnapshotWizard
1 = TCnWinTopRoller
1 = TCnInputHelper
1 = TCnSourceHighlight
1 = TCnProcListWizard
1 = TCnUsesCleaner
1 = TCnIdeEnhanceMenuWizard
CPU:
# Processors: 1
Type: Intel 586 model 2 Stepping 4
Speed: 2001.09 MHz
键盘:
Type 0: IBM enhanced (101- or 102-key) keyboard with OEM FKeys
Layout: 中文 (简体) - 五笔加加 () in kbdus.dll
本地化信息:
Number of Digits: '2'
Leading Zero: '0'
List Separators: ','
Grouping: '3;0'
Decimal Separator: '.'
Group Separator: ','
Monetary Grouping: '3;0'
Monetary Decimal Separator: '.'
Monetary Group Separator: ','
|