Sign in Join

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

Mailing lists / lazarus / 2003-04

Step over/into

4 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

L Venter

I have been nagging about this for the last 2 years. I basically use FPK all the time for scientific console program work but is interested in Lazarus due to the possibility of having an integrated debugger in particular stepping over/into.
I tried Lazarus again recently and saw that the debugger still does not work.
As I mentioned several times in the past, all the people I know in the programming professions want to use Linux/Lazarus/FPK but as soon as they try it and there is no debug, they just drop it.

Reportedly, Step over/into does work.
However, I could never manage to get it working.
If it does, please include the sources and detailed installation of a particular debugger in order that users in need of this can have a chance to verify it. Step over/into will add about 1000% of value to Lazarus once it is verified to work.
I see it as the single most important missing feature.

thanks
LR Venter

Reply by email

L Venter
to Marc Weustink: + From: L Venter + + + I have been nagging about this for the last 2 years. + I basically…

Marc

Configuration is set up to generate code for GDB.
Here is the version of GDB used.

]$ gdb
GNU gdb Red Hat Linux (5.2.1-4)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux".
(gdb)

Then,
If I go to a specific line in the program and toggle a breakpoint and then run the program....nothing happens.
The console output just reports "program executed successfully". If I try Step into and over it seemingly executes the program

The version of Lazarus as used is 0.8.5

Had the same problem tested on RH Linux 6.2, 7.0, 7.1, 7.3, 8.0

L Venter

Reply by email

Marc Weustink
to Marc Weustink: + From: L Venter + + + I have been nagging about this for the last 2 years. + I basically…
L Venter wrote 7 lines
Marc Configuration is set up to generate code for GDB. Here is the version of GDB used. ]$ gdb GNU gdb Red Hat Linux (5.2.1-4)

OK.

Then, If I go to a specific line in the program and toggle a breakpoint and then run the program....nothing happens. The console output just reports "program executed successfully".

Ah, I haven't fixed that yet (but is on my todo list), the debugger needs to be initialized first.

To set breakpoints for now, run your app, then hit pause (F2), and set (or enable the breakpoints). If you hit a breakpoint, you should be able to step from that.

If I try Step into and over it seemingly executes the program

Is debug info compiled into you app ?

The version of Lazarus as used is 0.8.5 Had the same problem tested on RH Linux 6.2, 7.0, 7.1, 7.3, 8.0

Marc

Reply by email

Marc Weustink
to L Venter: I have been nagging about this for the last 2 years. I basically use FPK all the time for…

+ From: L Venter
+
+
+ I have been nagging about this for the last 2 years.
+ I basically use FPK all the time for scientific console program work but
+ is interested in Lazarus due to the possibility of having an integrated
+ debugger in particular stepping over/into.
+ I tried Lazarus again recently and saw that the debugger still does not
+ work.

Hmm...

+ As I mentioned several times in the past, all the people I know in the
+ programming professions want to use Linux/Lazarus/FPK but as soon as
+ they try it and there is no debug, they just drop it. +
+ Reportedly, Step over/into does work.
+ However, I could never manage to get it working.

Is it possible to place a breakpoint ?

If so, can you step from that ?

If not, what is the output on the View->Debug->Debugoutput window and the Console

+ If it does, please include the sources and detailed installation of a
+ particular debugger in order that users in need of this can have a
+ chance to verify it.

You need at least a 5.1 gdb, but a 5.3 will do best.

+ Step over/into will add about 1000% of value to
+ Lazarus once it is verified to work.
+ I see it as the single most important missing feature.

As far as I can remember, my current uncommitted changes only concern expressions. Step and Step into should work.

Marc

Reply by email