Edited generic package code not in executable.
Original Reporter info from Mantis: dziesig
-
Reporter name: Don Ziesig
Original Reporter info from Mantis: dziesig
- Reporter name: Don Ziesig
Description:
Changes to generic code in package does not change behavior of executable.
The work-around is to use Run | Cleanup and Build... after every edit of the generic code.
Steps to reproduce:
First compile and run the project. The result should be 'String 1'
Next edit the file "BugDemoUnit", comment out line 33 then uncomment line 34.
If there were no bug, the result should be 'String 2', but it usually shows 'String 1'.
Now select Run | Cleanup and build... and click the "Cleanup and Build" button.
Run the program. The result should be 'String 2'.
Additional information:
Occasionally during this process the debugger interface gets confused and causes a Debugger Error with the following message as soon as you click on the 'Run' button.
The GDB command:
"-gdb-set confirm off"
did not return any result.
I haven't been able to diagnose this yet. Work around is to "Run without debugging". This will show the problem (but you obviously will not be able to step through, etc.)
Mantis conversion info:
- Mantis ID: 32739
- Build: x86_64-linux-gtk2
- Version: 1.8RC4