Recent

Author Topic: Problem Debug Linux Mint 64  (Read 20861 times)

elidorio

  • Sr. Member
  • ****
  • Posts: 295
Re: Problem Debug Linux Mint 64
« Reply #30 on: April 03, 2014, 04:02:04 am »
Hello Martin!

What you need to configure the fpdebug component for Lazarus?
I'm using Lazarus 2.62 1.3 fpc 32bit Windows 7.

Thank you,

Edson
Lazarus 1.4.4 | FPC 2.6.4 | Windows / Linux Debian

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12386
  • Debugger - SynEdit - and more
    • wiki
Re: Problem Debug Linux Mint 64
« Reply #31 on: April 03, 2014, 04:40:01 am »
Simply add the package lazDebuggerFp and rebuild the IDE. This will add an new entry to the drop down list of debuggers in the global options (tools menu) "gdb (with fpdebug)"

There is no pure fpdebug yet (well there is a command line fpd, but it is not usable yet).

So gdb is still required.

At this stage fpdebug will do some (not yet all) of the watches. Testing has only just begun, so there is a chance that incorrect values are shown sometimes. There is a entry in the run menu, to temporarily see what gdb returns.

All in all:  It does not yet offer any advantage (except maybe a little faster watches on win).

The only reason to install it, is to help testing.

elidorio

  • Sr. Member
  • ****
  • Posts: 295
Re: Problem Debug Linux Mint 64
« Reply #32 on: April 03, 2014, 01:04:10 pm »
I'm trying to install the package on Lazarus here at my work. 1.2.0 fpc 2.6.2 and Lazarus fpdebug requerindo this package any more.
Which package are needed the most?
Lazarus 1.4.4 | FPC 2.6.4 | Windows / Linux Debian

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12386
  • Debugger - SynEdit - and more
    • wiki
Re: Problem Debug Linux Mint 64
« Reply #33 on: April 03, 2014, 04:05:18 pm »
1.2.x does not have it. It is only present in trunk.

And if you test it, you should keep your copy of trunk up to date all the time, since bugs gets fixed every few days.

---
Please also note: The normal debugger underwent a massive refactor in trunk. Even with all care having been taken, bugs may have been introduced. I am glad to get test results. But you should be aware, that at current the debugger in trunk (the normal gdb debugger) may be less stable than in 1.2.


elidorio

  • Sr. Member
  • ****
  • Posts: 295
Re: Problem Debug Linux Mint 64
« Reply #34 on: April 03, 2014, 04:19:40 pm »
ok, I'll do the test with only 1.3 fpdebug this issue.

So my problem is, when I use gdb does not show some values​​, eg values ​​qrytestenm_cid.Asstring these values ​​are not displayed in gdb.
The fpdebug already does this?
Lazarus 1.4.4 | FPC 2.6.4 | Windows / Linux Debian

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12386
  • Debugger - SynEdit - and more
    • wiki
Re: Problem Debug Linux Mint 64
« Reply #35 on: April 03, 2014, 04:27:03 pm »
If it is a property, then fpdebug is not showing it either. Not yet.
http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Properties

And it will still be a good while before it will.

At current, the target is to get fpdebug, to do the same as gdb. (and that is far from done yet).
Only when fpdebug can do what gdb can already do, then it will be extended.
« Last Edit: April 03, 2014, 04:30:17 pm by Martin_fr »

elidorio

  • Sr. Member
  • ****
  • Posts: 295
Re: Problem Debug Linux Mint 64
« Reply #36 on: April 04, 2014, 01:19:53 am »
Sorry insistence fpdebug I installed this package and not showing up for me.
Follow the attached pictures.
Lazarus 1.4.4 | FPC 2.6.4 | Windows / Linux Debian

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12386
  • Debugger - SynEdit - and more
    • wiki
Re: Problem Debug Linux Mint 64
« Reply #37 on: April 04, 2014, 01:53:03 am »
You installed fpDebug, but I wrote to install the package lazDebuggerFp

The package fpDebug, is not an IDE extension. It is a package you need if you want to write your own debugger.


elidorio

  • Sr. Member
  • ****
  • Posts: 295
Re: Problem Debug Linux Mint 64
« Reply #38 on: April 04, 2014, 03:57:07 am »
Ops!
Now this right, I'll do the tests.
Lazarus 1.4.4 | FPC 2.6.4 | Windows / Linux Debian

 

TinyPortal © 2005-2018