Forum > FV/Textmode IDE

Debugging under DOS

(1/1)

virtualhat:
I'm using the FPC IDE under DOS (go32v2), and I've noticed that I get "No debugger support available". Is there something I can do to enable this? I'm fairly sure this was working for me a few months ago, perhaps with an older version of FPC.

Environment:
P166 MMX - Win98
FPC 3.2.2

(also tried 3.3.1)

marcov:
Afaik no. For Go32v2 the commandline debugger can't be run via IPC, so must be linked in.

The fact that this surfaces only now, while the release is nearly 4 year old is, is a bit weird though.

Did you install the all-in one file, or the loose files?

virtualhat:
I downloaded dos322full.zip from https://sourceforge.net/projects/freepascal/files/DOS_Go32v2/3.2.2/ and then unzipped it and set up the paths. More recently I've been compiling from source (from the 3.2.2 fixes branch). Both have the same problem.

virtualhat:
Ok, I looked into this a bit more. I've been experimenting a bit with compiling my own builds of FP so I thought maybe I'd got mixed up, but can now confirm the following...

Dos320Full (from sourceforce) supports debugging under dos.
Dos322Full (from sourceforce) does not.

marcov:
Debug support while compiling the sources depend on the presence of GDB in lib form (libgdb.a). So that doesn't really say much.

I looked around a bit, and on FPC ftp, in the /pub/fpc/dist/3.2.2/i386-go32v2/separate folder I found IDE files:


--- Quote ----rwxr-xr-x    1 fpc      fpc      75409564 Mar 25  2024 fp711.exe
-rwxr-xr-x    1 fpc      fpc      70814906 Mar 25  2024 fp7121.exe

--- End quote ---

I assume the number correspond to the build in GDB version. Good luck!

Navigation

[0] Message Index

Go to full version