Lazarus throws error message dialog when it detects syntax error in source file being edited
Original Reporter info from Mantis: hinst
-
Reporter name:
Original Reporter info from Mantis: hinst
- Reporter name:
Description:
Present in Lazarus 1.2 final release as well
Please observe attached image, it is self-explanatory
Sometimes I get error message dialog when I edit source file, then press Ctrl+Space to activate code completion. As you can see, error message appeared in "Messages" window (as it should), but then error message dialog shows up as well (it should not)
It happens _rarely_
However I occasionally reproduced this issue at least once on the following configurations:
Windows 8 64 bit + Lazarus 32 bit
Windows 7 64 bit + Lazarus 64 bit
Ubuntu Linux 12.04 32 bit + Lazarus 32 bit
Additional information:
Output from Lazarus:
using config file D:\L_1.2\L\lazarus.cfg
SetPrimaryConfigPath NewValue="D:\L_1.2\Conf" -> "D:\L_1.2\Conf"
SetPrimaryConfigPath NewValue="D:\L_1.2\Conf" -> "D:\L_1.2\Conf"
TMainIDE.ParseCmdLineOptions:
PrimaryConfigPath="D:\L_1.2\Conf\"
SecondaryConfigPath="D:\L_1.2\L"
### TCodeToolManager.HandleException: "identifier not found: aSection" at Line=66 Col=37 in "D:\Dev\PasDelPrj\Src\PDelP_BuildUnitTreeU.pas"
### TCodeToolManager.HandleException: "identifier not found: aSection" at Line=66 Col=37 in "D:\Dev\PasDelPrj\Src\PDelP_BuildUnitTreeU.pas"
### TCodeToolManager.HandleException: ": expected, but protected found" at Line=68 Col=3 in "D:\Dev\PasDelPrj\Src\PDelP_BuildUnitTreeU.pas"
### TCodeToolManager.HandleException: "expected end., but protected found" at Line=68 Col=3 in "D:\Dev\PasDelPrj\Src\PDelP_BuildUnitTreeU.pas"
TApplication.HandleException : expected, but protected found
Stack trace:
$00000001008B7F73 line 2432 of customcodetool.pas
$00000001008B8028 line 2443 of customcodetool.pas
$00000001008AFA98 line 392 of customcodetool.pas
$00000001008AFB97 line 398 of customcodetool.pas
$00000001008C9F63 line 4938 of pascalparsertool.pas
$00000001008BF521 line 1411 of pascalparsertool.pas
$00000001008CEE75 line 588 of pascalreadertool.pas
$000000010084B184 line 445 of codeexplorer.pas
$00000001008538A1 line 2623 of codeexplorer.pas
$000000010084D884 line 1007 of codeexplorer.pas
$000000010084D9AF line 1029 of codeexplorer.pas
$000000010084D9AF line 1029 of codeexplorer.pas
$000000010084D9AF line 1029 of codeexplorer.pas
$000000010084D9AF line 1029 of codeexplorer.pas
$000000010084D9AF line 1029 of codeexplorer.pas
$00000001008518A2 line 2136 of codeexplorer.pas
$00000001008510B7 line 1938 of codeexplorer.pas
Mantis conversion info:
- Mantis ID: 25826
- Platform: Windows, Linux
- Version: 1.2.0RC2
- Fixed in revision: 44355 (#ba5ad184)