I've come across an unhelpful error in FP IDE when trying to run a program "Can't run a unit", with no indication of which unit.
I'm trying to debug a console application which crashes under certain situations.
Lazarus on Ubuntu doesn't seem to allow me to run a console application from the editor (it used to, and the option is still there but it doesn't work on Lazarus 2.0.12).
The application uses the Video unit, so I can't capture the error message when running it from the terminal.
To get around this I've been debugging by using Free Pascal's text mode IDE, which is just fine for my needs. It allows me to run the application from the IDE and set breakpoints / capture error messages etc.
But today it gave me this error. My debugging has kind of stalled unless I can figure out which unit it's referring to.
Compilation works from the IDE with no errors, only running it triggers this error. Is there any way of finding which unit is causing issues?