Forum > Debugger

Cannot get the debugger to work as I expect it to...

(1/3) > >>

Bart:
Hi there,

I cannot seem to get the integrated debugger to work.

Setting breakpoints just works fine.
Running to cursor works fine.
Stepping Into and stepping over (F7, F8) does not seem to work at all.
Nothing happens when I try to step over/into code.
The only thing that I can do to continue is to stop the program (F2).

Obviously I'm missing something here. I've seen other people talking about tracing the code in the IDE, so I assume there is some way to make it work.

Anyone able to give me some help here?

Bart

felipemdc:
Some more information is necessary to see what the problem is.

What operating system are you using?

Which Lazarus and Free Pascal versions?

On the menu "Environment" >>> "Debugger Options", on the IDE, What is written for the path?

Bart:
OS: WinME
Lazarus: 0.9.10 beta
Lazarus date: 2005-10-02
fpc: 2.0.1 (distributed with the win32 Lazarus installer)

Debugger options:
GNU debugger (gdb)
Path: H:\Programmas\Lazarus\mingw\bin\gdb.exe (and yes, it is actually there)

Bart

Marc:
when running to the cursor works, it should be possible to stepinto and stepover. However stepinto only works if the debugsymbols of the code stepped into is present. The fcl/rtl of the fpc provided by the FPC team have no debugsymbols (I don't  know about the version shipped with lazarus)
I assume you not only have tried F7 F8 but also by the menu ?
And does F9 work when you hit a breakpoint ?

Bart:

--- Quote from: "Marc" ---
I assume you not only have tried F7 F8 but also by the menu ?
And does F9 work when you hit a breakpoint ?
--- End quote ---

Yeah, trying it from the menu's doesn't work either.
Hitting F9 after a breakpoint (or a run to cursor) does exactly nothing at all.

Bart

Navigation

[0] Message Index

[#] Next page

Go to full version