Watch List can not handel
Original Reporter info from Mantis: lgrfbs
-
Reporter name: Robb
Original Reporter info from Mantis: lgrfbs
- Reporter name: Robb
Description:
Computer 1
Windows 7 Professional SP1 64bit
Lazarus
Version #:1.2.6
Date: 2014-10-11
FPC Version: 2.6.4
SVN Revision: 46529
X86_64-win64-win-32/win64
Delphi 7 Personal
Version 7 (Build 4.453)
Computer 2
LinuxMint 17.1
Lazarus
Version #:1.2.6
FPC Version: 2.6.4
Steps to reproduce:
* Make a new project
* Select Application
* put a button on the form
* Double click on event OnClick
* Write: Button1.Tag:=1;
* Mark text: Button1.Tag
* Press Ctrl + F5 (Add watch at cursor
* Set a breakpoint at same row.
* Run (F9)
* Click on the button
* Now will the Button1.Tag have Value: &LtPos;Error: Type TBUTTON has no component named Tag.>
* Press F9 again
* click on the button
* Now will the Button1.Tag have Value: &LtPos;Error: Type TBUTTON has no component named Tag.>
* Press Crtl + F2 for stop the test.
Additional information:
I expected Lazarus to return the same result as Delphi 7 do and it is no error at all and the integer "1" in the Watch List. I do get the type of error in LinuxMint too.
Mantis conversion info:
- Mantis ID: 27413
- OS: Windows 7 Professional SP1
- OS Build: 64bit
- Build: FPC 2.6.4
- Platform: Windows
- Version: 1.2.6