Sign in Join

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

Mailing lists / lazarus / 2008-03

Can't see line being debugged.

7 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Adrian De Armas

Hello everyone,

I am using lazarus 0.9.24 with fpc version 2.2.0 [2007/08/30] for i386. My linux version is Ubuntu 7.10 - the Gutsy Gibbon - released in October 2007.

Lazarus and the applications compiled with it work fine but when I try to debug I have some strange results.
I set a breakpoint and when the execution reaches that breakpoint the application seems to do nothing but it does! it is waiting for my input... the applications and the debugger keep working because I have some "ShowMessage" functions arround and if I press some F8 I can see those ShowMessage executed although the executed line of code doesn't highlight... I think you all can realize that debugging without knowing which line is actually executed is impossible.

Does anyone know why is this happening?... Any workaround?... Am I the only one seeing this?
FYI I am new to linux and lazarus.

English is not my native language, so I hope I was able to explain myself.

Regards,

Reply by email

Marc Weustink
to Adrian De Armas
Adrian De Armas wrote 19 lines
Hello everyone, I am using lazarus 0.9.24 with fpc version 2.2.0 [2007/08/30] for i386. My linux version is Ubuntu 7.10 - the Gutsy Gibbon - released in October 2007. Lazarus and the applications compiled with it work fine but when I try to debug I have some strange results. I set a breakpoint and when the execution reaches that breakpoint the application seems to do nothing but it does! it is waiting for my input... the applications and the debugger keep working because I have some "ShowMessage" functions arround and if I press some F8 I can see those ShowMessage executed although the executed line of code doesn't highlight... I think you all can realize that debugging without knowing which line is actually executed is impossible. Does anyone know why is this happening?... Any workaround?... Am I the only one seeing this? FYI I am new to linux and lazarus.

The only case I know is when you use Jump in the Callstack then the "current" line isn't highlighted.
Did you change colors in the editor options (environment-editor options-color executionpoint)?

English is not my native language, so I hope I was able to explain myself.

It was clear to me :)

Marc

Reply by email

Adrian De Armas
to Marc Weustink

Marc,

Thanks for your reply...
I checked what you told me to but previously I hadn't change any color. I wasnt aware of environment-editor options-color executionpoint... so I tried to change it to some blue or red but bothing happens... I'm stuck.

I didnt try the ubuntu's lazarus version (I think it's 0.9.22)... May be I should uninstall 0.9.24, install the 0.9.22 and try...

Thanks

Marc Weustink wrote 39 lines
Adrian De Armas wrote: > Hello everyone, > > I am using lazarus 0.9.24 with fpc version 2.2.0 [2007/08/30] for > i386. My linux version is Ubuntu 7.10 - the Gutsy Gibbon - released in > October 2007. > > Lazarus and the applications compiled with it work fine but when I > try to debug I have some strange results. > I set a breakpoint and when the execution reaches that breakpoint the > application seems to do nothing but it does! it is waiting for my > input... the applications and the debugger keep working because I have > some "ShowMessage" functions arround and if I press some F8 I can see > those ShowMessage executed although the executed line of code doesn't > highlight... I think you all can realize that debugging without > knowing which line is actually executed is impossible. > > Does anyone know why is this happening?... Any workaround?... Am I > the only one seeing this? > FYI I am new to linux and lazarus. The only case I know is when you use Jump in the Callstack then the "current" line isn't highlighted. Did you change colors in the editor options (environment-editor options-color executionpoint)? > English is not my native language, so I hope I was able to explain myself. It was clear to me :) Marc _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Marc Weustink
to Adrian De Armas
Adrian De Armas wrote 10 lines
Marc, Thanks for your reply... I checked what you told me to but previously I hadn't change any color. I wasnt aware of environment-editor options-color executionpoint... so I tried to change it to some blue or red but bothing happens... I'm stuck. I didnt try the ubuntu's lazarus version (I think it's 0.9.22)... May be I should uninstall 0.9.24, install the 0.9.22 and try...

There is nothing changed in those versions in this area, so I don't expect any change.
Anyway, other colors like selection are visible ?

Marc

Reply by email

Adrian De Armas
to Marc Weustink

Well... I coulnt even make it work!.... Ubuntu's Lazarus is kind of broken... I reinstalled Lazarus 0.9.24.

Selection is visible, breakpoints are visible with a healthy red (as spected) but executionpoint isn't....

I have no idea what to do... In WinXP it works fine...

Marc Weustink wrote 25 lines
Adrian De Armas wrote: > Marc, > > Thanks for your reply... > I checked what you told me to but previously I hadn't change any color. > I wasnt aware of environment-editor options-color executionpoint... so > I tried to change it to some blue or red but bothing happens... I'm > stuck. > > I didnt try the ubuntu's lazarus version (I think it's 0.9.22)... May > be I should uninstall 0.9.24, install the 0.9.22 and try... There is nothing changed in those versions in this area, so I don't expect any change. Anyway, other colors like selection are visible ? Marc _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Marc Weustink
to Adrian De Armas
Adrian De Armas wrote 7 lines
Well... I coulnt even make it work!.... Ubuntu's Lazarus is kind of broken... I reinstalled Lazarus 0.9.24. Selection is visible, breakpoints are visible with a healthy red (as spected) but executionpoint isn't.... I have no idea what to do... In WinXP it works fine...

one possible cause, do you have different paths to the same source file, through a symlink or so ?
like:
~/project_source_dir -> /some/long/path/to/your/project_source_dir

Marc

Reply by email

Adrian De Armas
to Marc Weustink

I just created a new project, placed one button on the form, I wrote some code in the OnClick event and when I try to debug it... I have the same result...

It seems to be a dead end...

Thank you for your time Marc.

Greetings

Marc Weustink wrote 24 lines
Adrian De Armas wrote: > Well... I coulnt even make it work!.... Ubuntu's Lazarus is kind of broken... > I reinstalled Lazarus 0.9.24. > > Selection is visible, breakpoints are visible with a healthy red (as > spected) but executionpoint isn't.... > > I have no idea what to do... In WinXP it works fine... one possible cause, do you have different paths to the same source file, through a symlink or so ? like: ~/project_source_dir -> /some/long/path/to/your/project_source_dir Marc _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email