[fpc-devel] Re: Debugger for FPC

Graeme Geldenhuys graemeg.lists at gmail.com
Wed Mar 11 14:55:09 CET 2009

On Wed, Mar 11, 2009 at 10:24 AM, Graeme Geldenhuys
<graemeg.lists at gmail.com> wrote:
> Simple things that worked in Delphi IDE and even Kylix IDE, but not in
> FPC/Lazarus IDE:
> * Breakpoints do not always break
> * Tooltip evaluation of highlighted code gives "no such symbol in
> context" errors
> * Properties on objects cannot be debugged. You have to use the
> underlying field variable if you have access to it, or you the
> property uses access methods you are screwed.
> * In most cases I cannot inspect local variables, due to "no such
> symbol in context" errors
> * debugging nested procedures are totally useless.

Continuing with the debugging issues on how do I debug something as
simple as the global variable 'ShortDateFormat'? This just shows how
broken debugging is in FPC. With Kylix or Delphi this is a no-brainer!

See the URL below for a screenshot of the issue under Lazarus IDE.  By
the way, I tried 'ddd' which is another GUI frontend for GDB and it
gave the same problem. So once again, it's not a Lazarus issue, but a
flawed GDB and Object Pascal support.


  - Graeme -

fpGUI - a cross-platform Free Pascal GUI toolkit

More information about the fpc-devel mailing list