Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-03

Debugging under windows

4 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Andreas Berger

Four years ago I tried to port our companies main application to Lazarus. I mostly worked, but we had some problems with components not quite compatible with D7 - also bitmap transparency did not work, but has now been fixed.

However the main problem was debugging. We develop exclusively under windows and, at the moment, for windows (although we are hoping to change that). Debugging didn't work under windows. You could not stop the app and see all the variables. Properties could not be tried developing in D7 and porting to Lazarus, but the small incompatibilities made it more hassle then it was worth. I do this for myself, but the company stopped using Lazarus.

Now the company is planning to upgrade to D2010. I would still like to switch to Lazarus. Can someone update me on the debugger issue? How is the best way to debug under windows?

Andreas

Reply by email

Mattias Gaertner
to Andreas Berger
Show quoted text 16 lines
Four years ago I tried to port our companies main application to Lazarus. I mostly worked, but we had some problems with components not quite compatible with D7 - also bitmap transparency did not work, but has now been fixed. However the main problem was debugging. We develop exclusively under windows and, at the moment, for windows (although we are hoping to change that). Debugging didn't work under windows. You could not stop the app and see all the variables. Properties could not be seen at all. We tried developing in D7 and porting to Lazarus, but the small incompatibilities made it more hassle then it was worth. I do this for myself, but the company stopped using Lazarus. Now the company is planning to upgrade to D2010. I would still like to switch to Lazarus. Can someone update me on the debugger issue? How is the best way to debug under windows?

Properties with variable getters are shown.
Properties with getter functions are not shown.

Mattias

Reply by email

Paul Ishenin
to Mattias Gaertner
Mattias Gaertner wrote
Properties with variable getters are shown. Properties with getter functions are not shown.

Only if you are using dwarf debug info. And both RTL and LCL needs to be built with dwarf debug info. Use the next options while building RTL and LCL and your application of course:
"-gw -godwarfsets". For you application I would suggest to use "-Xg" also.

Best regards,
Paul Ishenin.

Reply by email