Recent

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

ssliackus

  • Jr. Member
  • **
  • Posts: 65
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: 14205
  • Probably until I exterminate Putin.
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 »
Specialize a type, not a var.

ssliackus

  • Jr. Member
  • **
  • Posts: 65
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: 8746
  • 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

  • Jr. Member
  • **
  • Posts: 65
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: 14205
  • Probably until I exterminate Putin.
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!@!
Specialize a type, not a var.

Leledumbo

  • Hero Member
  • *****
  • Posts: 8746
  • 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.

 

TinyPortal © 2005-2018