* * *

Author Topic: Debuging in IDE on Linux  (Read 882 times)

ssliackus

  • New member
  • *
  • Posts: 10
Debuging in IDE on Linux
« on: October 29, 2016, 12:33:05 pm »
Hi,
How can I make debugger work on Linux? I mean in FP IDE. I have gdb installed, but I need something that works out of the IDE box.
Thanks

Thaddy

  • Hero Member
  • *****
  • Posts: 3023
Re: Debuging in IDE on Linux
« Reply #1 on: October 29, 2016, 12:36:49 pm »
It works out of the ide box.
Here's a breakpoint, but everything works.
Where is your problem?

« Last Edit: October 29, 2016, 12:38:50 pm by Thaddy »

ssliackus

  • New member
  • *
  • Posts: 10
Re: Debuging in IDE on Linux
« Reply #2 on: October 29, 2016, 01:28:44 pm »
I have bit different experience:

Leledumbo

  • Hero Member
  • *****
  • Posts: 7508
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Debuging in IDE on Linux
« Reply #3 on: October 29, 2016, 10:45:40 pm »
The fp-ide in raspbian repository is:
  • outdated
  • doesn't support external gdb
You need latest official version which supports external gdb for debugging without embedded libgdb.a.

ssliackus

  • New member
  • *
  • Posts: 10
Re: Debuging in IDE on Linux
« Reply #4 on: October 30, 2016, 01:43:55 am »
Nice, thanks, but how can I have debugger? I am on Linuxmint and use fpc 3.0

Thaddy

  • Hero Member
  • *****
  • Posts: 3023
Re: Debuging in IDE on Linux
« Reply #5 on: October 30, 2016, 11:04:27 am »
I have bit different experience:
What? I have to take a closer look, because on a standard RaspBian install that should not happen!@!

Leledumbo

  • Hero Member
  • *****
  • Posts: 7508
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Debuging in IDE on Linux
« Reply #6 on: October 30, 2016, 02:52:51 pm »
Nice, thanks, but how can I have debugger? I am on Linuxmint and use fpc 3.0
No idea about the mint package, you should contact the maintainer. I don't have full precompiled fpc 3.0 unfortunately, only the compiler for bootstrapping fpc trunk which I use daily. I build everything from source and it's built with debugger support.

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus