[Lazarus] how to debug from virtualbox

FreeMan freeman35 at delphiturkiye.com
Mon Apr 28 13:54:19 CEST 2014

> 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.

Can Lazarus remote debug  from windows? my real question is this. sorry 
for my english, I'm still using dictionary.

And my bug, I founded it a few seconds ago, my old classic and 
"infallible" debug system :) ShowMessage('');when you saw last number, 
next line has a bug :)

procedure TFRM_.GRD_Enter(Sender: TObject);
   GRD_.ColumnByFieldName('Name').Width := 
GRD_Detail.ColumnByFieldName('Name').Width -4;
   GRD_.BorderStyle := bsSingle;//   BUG IS HERE, ON WINDOWS, TRIGGER IT 
GRD_Exit and back self again , so endless LOOP starting and application 
freezing. in linux work normally
   GRD_.BorderSpacing.Around := 2;
procedure TFRM_.GRD_Exit(Sender: TObject);
   GRD_.BorderStyle := bsNone;
   GRD_.BorderSpacing.Around := 0;
   GRD_.ColumnByFieldName('Name').Width := 
GRD_Detail.ColumnByFieldName('Name').Width +4;

Please, can some test this in windows fpc & IDE?
Thanks for help

More information about the Lazarus mailing list