[Lazarus] how to debug from virtualbox

Reinier Olislagers reinierolislagers at gmail.com
Mon Apr 28 14:26:57 CEST 2014


On 28/04/2014 13:54, FreeMan wrote:
>> I think it's easiest to install FPC+Lazarus on your Windows image even
>> though you said you didn't want to do that.
>> Alternatively, I suppose you could build with -g -gl and run the
>> application in your image using gdb.exe and manually try to debug things.
> I don't wanna install fpc or lazarus, 'cos system will change and not be
> real test system. some dll maybe path maybe settings can be change when
> install that, and I can not be sure real test.

Then clone the image/use differencing hard disks etc.

Alternatively, add another virtual disk, copy over FPC/Lazarus install
from e.g. usb stick. Using fpcup also works. Installing from source also
works.
Running the installer and not selecting any file associations may also
work; I don't think the installer modifies the path but I'm not sure.





More information about the Lazarus mailing list