Board index » delphi » Need help from "Free Pascal" users

Need help from "Free Pascal" users

Hi

I recently started using this compiler. It sounds silly, but I have
problems debugging code. I try to use step over and trace into, but
this results just in the program being compiled. I have been using
these features easily in turbo pascal 7.0, so I don't know what I'm
doing wrong. Is it supposed to work, or is the envirronment of fp
incomplete? If so, what am I supposed to do?

Sent via Deja.com http://www.deja.com/
Before you buy.

 

Re:Need help from "Free Pascal" users


Quote
In article <8hbdk3$ni...@nnrp1.deja.com>, <n...@my-deja.com> wrote:
> I recently started using this compiler. It sounds silly, but I have
> problems debugging code. I try to use step over and trace into, but
> this results just in the program being compiled. I have been using
> these features easily in turbo pascal 7.0, so I don't know what I'm
> doing wrong. Is it supposed to work, or is the envirronment of fp
> incomplete? If so, what am I supposed to do?

I suppose you are using the IDE? If so, make sure that Options|Mode is
set to "debug" and rebuild your program. Otherwise, no debugging
information is included in the compiled program and debugging is
impossible.

Jonas

Re:Need help from "Free Pascal" users


Quote
> I suppose you are using the IDE? If so, make sure that Options|Mode is
> set to "debug" and rebuild your program. Otherwise, no debugging
> information is included in the compiled program and debugging is
> impossible.

Debugging is also possible to go beyond the program <-> RTL interface.

This involves recompiling the RTL with debug info.

(make OPT='-g' in the rtl/platformname directory)

--

Marco van de Voort (Mar...@stack.nl or ma...@freepascal.org)

Other Threads