Sign in Join

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

Mailing lists / fpc-devel / 2010-12

When native debuggers?

6 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

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

Andrzej
to Andrzej

W dniu 2010-12-16 21:01, Andrzej pisze:

When will install native debugger FPdebugger instead GDB. It will be soon ? How install it to test? ______________________________________________
I try to compile c:\lazarus\debugger\fpdebug\fpd\fpd.lpr but in file
DbgDwarf.pas is :
function TDwarfLineInfoStateMachine.NextLine: Boolean;
var
   pb: PByte absolute FLineInfoPtr;

Error: absolute can only be associated with a var or const ("local" variable is private field)
Compiler version 2.4.2 not compile it. Is available newer compiler ? (I have Lazarus 0.9.29 from snapshot)

Reply by email

Martin
to Andrzej
Andrzej wrote 14 lines
W dniu 2010-12-16 21:01, Andrzej pisze: > When will install native debugger FPdebugger instead GDB. It will be > soon ? How install it to test? > ______________________________________________ I try to compile c:\lazarus\debugger\fpdebug\fpd\fpd.lpr but in file DbgDwarf.pas is : function TDwarfLineInfoStateMachine.NextLine: Boolean; var pb: PByte absolute FLineInfoPtr; Error: absolute can only be associated with a var or const ("local" variable is private field) Compiler version 2.4.2 not compile it. Is available newer compiler ? (I have Lazarus 0.9.29 from snapshot)

You need an older compiler. It appears FPdebugger is not maintained at the moment.

There also is http://duby.svn.sourceforge.net/viewvc/duby/ if you are interested.
For bot projects, I have no idea what the state of them is.

Since you posted that in pc, not Lazarus mailing list, I do not know if you meant to ask about Lazarus, but since you did ask about "install" I don't think fpdebugger can currently run inside the IDE (I didn't find any place where it attempts to register)
Duby, I think has some instructions how to do that.

---
If this is about debugging inside the Lazarus IDE. I believe (may be wrong...) using gdb still gives better results than any of the two (just from what I read in the past).

Martin

Reply by email