* * *

Author Topic: Free Pascal Text IDE for Linux, No debugger support available  (Read 8013 times)

Poul Johansen

  • Newbie
  • Posts: 1
Can anybody help a beginner with the "No debugger support available" problem.
I have installed the gdb debugger. I have installed fpc-3.0.4.x86_64-linux from SourceForge and I see the same "No debugger support available problem" in both Debian and Ubunto installations.
If installing the source files, fpc-3.0.4-1.src.rpm the debugger is working, but then e.g. the Free Pascal RTL Printer Unit is not found.

dubst3pp4

  • Jr. Member
  • **
  • Posts: 59
  • Retro computing ~ GNU/Linux
    • me on Mastodon
Re: Free Pascal Text IDE for Linux, No debugger support available
« Reply #1 on: August 15, 2018, 10:33:32 am »
Did you find a solution? Same problem here with fp 1.0.12, fpc 3.0.4 on Ubuntu 18.04...

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6579
Re: Free Pascal Text IDE for Linux, No debugger support available
« Reply #2 on: August 15, 2018, 10:39:02 am »
FPC 3.0.4's IDE has the debugger internally, as a static library

If you get that message, the release was prepared without including the debugger.

dubst3pp4

  • Jr. Member
  • **
  • Posts: 59
  • Retro computing ~ GNU/Linux
    • me on Mastodon
Re: Free Pascal Text IDE for Linux, No debugger support available
« Reply #3 on: August 15, 2018, 12:49:01 pm »
Oh, this would be an answer... Although I installed the official Free Pascal Debian package from SourceForge, not the one provided by the distribution...

segfault

  • Jr. Member
  • **
  • Posts: 60
Re: Free Pascal Text IDE for Linux, No debugger support available
« Reply #4 on: August 15, 2018, 09:14:20 pm »
FPC 3.0.4's IDE has the debugger internally, as a static library

If you get that message, the release was prepared without including the debugger.

So which release should linux users download? I've never been able to get the debugger to work in the text ide, even when downloading the binary packages (not using deb or rpm).

Jurassic Pork

  • Hero Member
  • *****
  • Posts: 740
Re: Free Pascal Text IDE for Linux, No debugger support available
« Reply #5 on: August 16, 2018, 06:48:35 am »
hello,
read this thread
and the last message from Moody :
Quote
Just to close this thread:

with svn checkout it works perfectly.  ;D

Just do
Code: [Select]
svn checkout http://svn.freepascal.org/svn/fpc/trunk fpc
cd fpc
make clean
make all
make install

Have fun with debugging within fp  8-)  Hope that fpc-3.1.1 et.al. will be released soon.

With this, it is ok on Ubuntu 16.04  (see attachment)

Friendly, J.P
Jurassic computer : Sinclair ZX81 - Zilog Z80A à 3,25 MHz - RAM 1 Ko - ROM 8 Ko

segfault

  • Jr. Member
  • **
  • Posts: 60
Re: Free Pascal Text IDE for Linux, No debugger support available
« Reply #6 on: August 16, 2018, 11:46:32 am »
Thanks JP, finally it works.  :D

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6579
Re: Free Pascal Text IDE for Linux, No debugger support available
« Reply #7 on: August 16, 2018, 11:57:34 am »
trunk FPC uses cmdline gdb like Lazarus for platforms that can (read not dos and other ancient stuff)

This was known before 3.0.4, and it seemed the builders didn't want to invest effort in keeping the old solution compiling.

You could try the linux .tar 3.0.4 though, those are usually better than the debs (and maybe RPMs, but I haven't used RPM systems for years)

 

Recent

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