Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-05

CVS Updates

6 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mattias Gaertner

Hi all,

- add a try..except to Application.Run. On exception it will call HandleException
- debugger now searches indirect include files.
- improved procedure jumping with guessing
- implemented compilation tools 'Before' and 'After'. You can now execute commands before and after project/package compilation.
- added debug path to compiler options
- fixed resolving FPC output for absolute filenames of used directories
- added docs/ExtendingTheIDE.txt. A small text about IDE plugins.
- created the GTK2ForLazarus package for gtk2forpascal bindings and created GTK2Interface package
For those interested in helping us writing the gtk2 interface: see lcl/interfaces/gtk2/README
- double click on breakpoints or callstack dialog now jumps to source

Mattias

Reply by email

Mattias Gaertner

Hi,

fixes and goodies ...

- fixed closing popupmenu on showmodal
- fixed TArrow streaming
- fixed ObjectInspector hiding components with csDestroying flag
- added package GTKOpenGL. A package for the TGTKGLAreaControl component, a gtk-only component for OpenGL. This component is an example for creating a widgetset dependent LCL component.
- fixed allocation of background GDI colors in gtk interface
- changed property editor hooks to TMethodLists
- added new editor option: 'Copy word on copy none'. This means, if nothing is selected and you copy to clipboard, the word at cursor is selected and copied to clipboard. You can deactivate this in the editor options.
- implemented saving/restoring breakpoints, breakpoint groups and watches from/to lpi file
- The enable state of breakpoints are now restored on restarting programs
- debugged files are now searched in unit paths, inherited unit paths, compiled src paths, unit links, include paths, inherited include paths and include paths of all required packages
- designed forms can now be closed with the window border icon
- added new environment option: Hide IDE on run

Mattias

Reply by email

Jesus Reyes
to Marc Weustink: some updates: - the debugger now pauses on all exceptions. - the contents of strings and…

I recently upgraded to Mandrake 9.0,
do you know if there are problems with gdb "GNU gdb 5.2.1-2mdk (Mandrake Linux 9.0).

Take a look on the following lines (I'm using a recent cvs 1.0.8 compiler):

(gdb) p self
$1 = (^TCUSTOMDBGRID) $8181ac4
(gdb) p self^
can't find linker symbol for virtual table for `TCUSTOMDBGRID' value
(gdb) p self.FRow
can't find linker symbol for virtual table for `TCUSTOMDBGRID' value
(gdb) ptype self
type = ^TCUSTOMDBGRID = class : public TDRAWGRID
  private
    FDATALINK : ^TCOMPONENTDATALINK;
    FKEEPINBUFFER : boolean;
    FONCOLENTER : TNOTIFYEVENT;
    FONCOLEXIT : TNOTIFYEVENT;
    FREADONLY : boolean;
    FCOLENTERPENDING : boolean;
    FSELFSCROLL : boolean;
    FLAYOUTCHANGING : boolean;
    FVISUALLOCK : boolean;
    FNUMRECORDS : LONGINT;
    function  GETDATASOURCE : ^TDATASOURCE;
    procedure ONRECORDCHANGED (TFIELD);
    procedure ONDATASETCHANGED (TDATASET);
    procedure ONDATASETOPEN (TDATASET);
    procedure ONDATASETCLOSE (TDATASET);
    procedure ONINVALIDDATASET (TDATASET);
    procedure ONINVALIDDATASOURCE (TDATASET);
    procedure ONNEWDATASET (TDATASET);
    procedure ONDATASETSCROLLED (LONGINT, TDATASET);
    procedure SETDATASOURCE (TDATASOURCE);
    procedure UPDATEBUFFERCOUNT;
    function  DEFAULTFIELDCOLWIDTH (TFIELDTYPE) : LONGINT;
  protected
    procedure LINKACTIVE (boolean); virtual;
    procedure LAYOUTCHANGED; virtual;
    procedure DRAWBYROWS; virtual;
    procedure DRAWROW (LONGINT); virtual;
    procedure DRAWCELL (TGRIDDRAWSTATE, RECT7, ); virtual;
    procedure MOVESELECTION; virtual;
    procedure BEFOREMOVESELECTION (LONGINT, LONGINT); virtual;
    procedure KEYDOWN (TSHIFTSTATE, ORD); virtual;
    procedure MOUSEDOWN (LONGINT, LONGINT, TSHIFTSTATE,
TMOUSEBUTTON); virtual;
    procedure VISUALCHANGE; virtual;
    procedure WMHSCROLL (TLMSCROLL);
    procedure WMVSCROLL (TLMSCROLL);
    procedure UPDATEACTIVE;
  public
    constructor CREATE (TCOMPONENT) : ^TCUSTOMDBGRID; virtual;
    destructor  DESTROY; virtual;
end
(gdb)

Debugging with lazarus IDE, the same message appears: "can't find linker symbol for virtual table for `TCUSTOMDBGRID' value" so I can't see var's values.

Under Run->Compiler Options...->Linking I checked debugging->generate debugging info for GDB, but its the same result.

What can I do to get debugging to work?.

Thanks.

_________________________________________________________ Do You Yahoo!?
La mejor conexi�n a internet y 25MB extra a tu correo por $100 al mes. http://net.yahoo.com.mx

Reply by email

Jesus Reyes
to Mattias Gaertner: On Fri, 30 May 2003 11:25:25 -0500 (CDT) Yes. The pascal support of gdb is getting better…

--- Mattias Gaertner escribi�: > On Fri,
30 May 2003 11:25:25 -0500 (CDT)

Show quoted text 12 lines
Jesus Reyes wrote: > I recently upgraded to Mandrake 9.0, > do you know if there are problems with gdb "GNU gdb 5.2.1-2mdk Yes. The pascal support of gdb is getting better with every version. You should use at least 5.3. Mattias

That is speed :)

thanks.

_________________________________________________________ Do You Yahoo!?
La mejor conexi�n a internet y 25MB extra a tu correo por $100 al mes. http://net.yahoo.com.mx

Reply by email

Mattias Gaertner
to Marc Weustink: some updates: - the debugger now pauses on all exceptions. - the contents of strings and…
I recently upgraded to Mandrake 9.0, do you know if there are problems with gdb "GNU gdb 5.2.1-2mdk

Yes. The pascal support of gdb is getting better with every version. You should use at least 5.3.

Mattias

Show quoted text 78 lines
(Mandrake Linux 9.0). Take a look on the following lines (I'm using a recent cvs 1.0.8 compiler): (gdb) p self $1 = (^TCUSTOMDBGRID) $8181ac4 (gdb) p self^ can't find linker symbol for virtual table for `TCUSTOMDBGRID' value (gdb) p self.FRow can't find linker symbol for virtual table for `TCUSTOMDBGRID' value (gdb) ptype self type = ^TCUSTOMDBGRID = class : public TDRAWGRID private FDATALINK : ^TCOMPONENTDATALINK; FKEEPINBUFFER : boolean; FONCOLENTER : TNOTIFYEVENT; FONCOLEXIT : TNOTIFYEVENT; FREADONLY : boolean; FCOLENTERPENDING : boolean; FSELFSCROLL : boolean; FLAYOUTCHANGING : boolean; FVISUALLOCK : boolean; FNUMRECORDS : LONGINT; function GETDATASOURCE : ^TDATASOURCE; procedure ONRECORDCHANGED (TFIELD); procedure ONDATASETCHANGED (TDATASET); procedure ONDATASETOPEN (TDATASET); procedure ONDATASETCLOSE (TDATASET); procedure ONINVALIDDATASET (TDATASET); procedure ONINVALIDDATASOURCE (TDATASET); procedure ONNEWDATASET (TDATASET); procedure ONDATASETSCROLLED (LONGINT, TDATASET); procedure SETDATASOURCE (TDATASOURCE); procedure UPDATEBUFFERCOUNT; function DEFAULTFIELDCOLWIDTH (TFIELDTYPE) : LONGINT; protected procedure LINKACTIVE (boolean); virtual; procedure LAYOUTCHANGED; virtual; procedure DRAWBYROWS; virtual; procedure DRAWROW (LONGINT); virtual; procedure DRAWCELL (TGRIDDRAWSTATE, RECT7, ); virtual; procedure MOVESELECTION; virtual; procedure BEFOREMOVESELECTION (LONGINT, LONGINT); virtual; procedure KEYDOWN (TSHIFTSTATE, ORD); virtual; procedure MOUSEDOWN (LONGINT, LONGINT, TSHIFTSTATE, TMOUSEBUTTON); virtual; procedure VISUALCHANGE; virtual; procedure WMHSCROLL (TLMSCROLL); procedure WMVSCROLL (TLMSCROLL); procedure UPDATEACTIVE; public constructor CREATE (TCOMPONENT) : ^TCUSTOMDBGRID; virtual; destructor DESTROY; virtual; end (gdb) Debugging with lazarus IDE, the same message appears: "can't find linker symbol for virtual table for `TCUSTOMDBGRID' value" so I can't see var's values. Under Run->Compiler Options...->Linking I checked debugging->generate debugging info for GDB, but its the same result. What can I do to get debugging to work?. Thanks. _________________________________________________________ Do You Yahoo!? La mejor conexi�n a internet y 25MB extra a tu correo por $100 al mes. http://net.yahoo.com.mx _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Marc Weustink

Hi,

some updates:

- the debugger now pauses on all exceptions.
- the contents of strings and pchars are shown in the locals dialog.
- breakpoints can be added and removed from the breakpoints dialog

Marc

Reply by email