[lazarus] DDD Graphical Debugger

Cliff Baeseman vbman at pcpros.net
Thu Oct 7 00:02:14 EDT 1999


yep it sure makes me happy also...

I am getting as familiar as I can with it before jumping back on the lazarus
code.

Cliff



-----Original Message-----
From: Curtis White <osiriz at teleport.com>
To: lazarus at miraclec.com <lazarus at miraclec.com>
Date: Wednesday, October 06, 1999 11:04 PM
Subject: RE: [lazarus] DDD Graphical Debugger


>Cliff,
>
>I was playing with DDD tonight and this is great. I sure wish I would have
known
>about this a long time ago. It really makes it easy to use GDB.
>
>You need to have the Data Window and the GDB Console enabled from the View
menu.
>
>When you want to set a watch variable, you can enter "watch SHELLO"
(without
>the quotes) in the bottom window. It must be in all uppercase. This sets
GDB to
>watch that variable. Then when you step through, it stops everytime that
>variable is changed. I tried it on your program below and it worked really
well.
>
>You can also display the variable by entering "graph display SHELLO" in the
>bottom window. This will setup a display in the top data window so you can
stop
>and see the value of the variable at any point.
>
>This will be a huge help in debugging the code. I highly recommend for
anyone
>using Linux to use DDD for debugging your FPC code.
>
>
>Curtis
>
>On 06-Oct-99 Baeseman, Cliff wrote:
>> Stephan
>>
>>
>> In the example below what do I tell DDD in order to put a watch on
sHello...
>>
>> say for instance I break on writeln and I wish to know the value of
sHello..
>>
>> How about for a class??
>>
>> You are correct I have to start ddd from the same directory as my source
or
>> it will look in the user home dir for the source.
>>
>>
>>
>> program hello
>>
>> var
>>  sHello : string;
>>
>> begin
>>  sHello := 'Hello World';
>>  writeln(sHello);
>> end.
>>
>
>
>_________________________________________________________________
>     To unsubscribe: mail lazarus-request at miraclec.com with
>                "unsubscribe" as the Subject
>    archives at http://www.miraclec.com/list_archives/lazarus
>






More information about the Lazarus mailing list