Recent

Author Topic: Native Pascal Debugger?  (Read 27101 times)

Wodzu

  • Full Member
  • ***
  • Posts: 171
Native Pascal Debugger?
« on: December 15, 2009, 12:42:04 pm »
Hi guys.

I know that today we don't have a native debugger. I know how hard task is to make one which would work on all platforms.

My question is: does anyone work on it?

I was browsing this forum and FPC forum and couldn't find the answer.

Regards

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Native Pascal Debugger?
« Reply #1 on: December 15, 2009, 01:04:31 pm »
there're at least 2 native debuggers:

1st) FPdebugger (win32/win64), available at Lazarus/debugger

2nd) http://sourceforge.net/projects/duby

jetchengchu

  • Guest
Re: Native Pascal Debugger?
« Reply #2 on: December 15, 2009, 01:23:14 pm »
@skalogryyz  Thank you but could you please tell us in a clearer way how to obtain FPdebugger?  What location does Lazarus-slash-debugger refer to?

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Native Pascal Debugger?
« Reply #3 on: December 15, 2009, 01:25:43 pm »
@skalogryyz  Thank you but could you please tell us in a clearer way how to obtain FPdebugger?  What location does Lazarus-slash-debugger refer to?

It's located (and distributed) with Lazarus. the location is at installed lazarusdir/debugger/fpdebug.

You can also obtain it from svn using this link: http://svn.freepascal.org/svn/lazarus/trunk/debugger/fpdebug

jetchengchu

  • Guest
Re: Native Pascal Debugger?
« Reply #4 on: December 15, 2009, 01:32:33 pm »
Thank you for your guidance.

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1931
Re: Native Pascal Debugger?
« Reply #5 on: December 15, 2009, 01:44:20 pm »
2nd) http://sourceforge.net/projects/duby

Interesting. Is it already usable? Will it be distributed with Lazarus / FPC anytime soon?

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Native Pascal Debugger?
« Reply #6 on: December 15, 2009, 01:46:13 pm »
It's under development.
Some earlier revisions were quite usable (with STABS debug info), but currently it's broken.

Will it be distributed with Lazarus / FPC anytime soon?
not this year, for sure.

Wodzu

  • Full Member
  • ***
  • Posts: 171
Re: Native Pascal Debugger?
« Reply #7 on: December 15, 2009, 02:17:35 pm »
How we may help? (apart from coding)

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Native Pascal Debugger?
« Reply #8 on: December 15, 2009, 02:32:08 pm »
How we may help? (apart from coding)
cloning or time machines would be helpful :D

testers would be required when the debugger is more or less usable.

Wodzu

  • Full Member
  • ***
  • Posts: 171
Re: Native Pascal Debugger?
« Reply #9 on: December 15, 2009, 05:59:17 pm »
:)

Will it support preview of dynamic arrays content? ;-)

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Native Pascal Debugger?
« Reply #10 on: December 15, 2009, 07:37:24 pm »
Will it support preview of dynamic arrays content? ;-)
with the proper debug info - yes.

bobo

  • Full Member
  • ***
  • Posts: 171
Re: Native Pascal Debugger?
« Reply #11 on: April 10, 2010, 06:53:05 am »
Any progress on the native pascal debuggers?

It would be nice to see all object properties when debugging, and with DGB it does not work....

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2645
Re: Native Pascal Debugger?
« Reply #12 on: April 10, 2010, 01:20:45 pm »
A native debugger won't have full property support either. The dwarf debugger format has no way to describe them.
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Native Pascal Debugger?
« Reply #13 on: April 10, 2010, 04:49:17 pm »
if a native debugger is taught to load .ppus as well, it could use the information stored there.
I guess this is close to Delphi's debugger.

bobo

  • Full Member
  • ***
  • Posts: 171
Re: Native Pascal Debugger?
« Reply #14 on: April 10, 2010, 10:55:57 pm »
Maybe the native debugger/Lazarus then needs to use some other debugger format then (like Delphi)?
No point in developing a native pascal debugger if all the object properties will not be visible when debugging a program. We have that already with GDB, and it is not sufficient for pascal RAD.

 

TinyPortal © 2005-2018