Alright, can you tell me where the error occurs ?
To do this, you need to :
- switch to debug mode for LazPaint (this is in the top left toolbar when you open this project)
- and to change compilation options of BGRABitmapPack :
- open package, click Options
- in Code generation, set Level 1 optimization (-O1) and uncheck register variables (-Or)
- in Linking, click the first check box to generate debugger info
Then try to produce the bug, and the line should be highlighted.