[Lazarus] Terminal window, workaround

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Dec 11 19:33:12 CET 2008


On Thu, 11 Dec 2008 09:39:38 +0100
svaa <svaa at ciberpiula.net> wrote:

> Hello:
> 
> I've decide to use the this work around. I write to filetext and in a 
> terminal I use "tail -f <file>". It lets me stop in a breakpoint from 
> the IDE and watch in the terminal the current value with a writeln.
> It's not the best, but it works for what I need. May be later I will
> learn how to use the gdb from command line.
> 
> By the way, I thought gdb was unable to display Pascal variables, but
> if gdb is able to display the value of any variable in Pascal, what's
> the problem of Lazarus's IDE in displaying the value? It uses gdb as 
> debugger backend. doesn't it?

Yes. But not every variable has a simple mapping in the debugging info.
MSEGui does some more tricks to fill some gaps.
The codetools can probably provide enough information to map.
Marc can probably give more details.


Mattias



More information about the Lazarus mailing list