Recent

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

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2645
Re: Native Pascal Debugger?
« Reply #15 on: April 11, 2010, 11:08:53 am »
I was a bit to pessimistic, the dwarf format has way to extend it, so properties can be described.
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

Graeme

  • Hero Member
  • *****
  • Posts: 1428
    • Graeme on the web
Re: Native Pascal Debugger?
« Reply #16 on: April 14, 2010, 10:39:48 am »
A native debugger won't have full property support either. The dwarf debugger format has no way to describe them.
I thought DWARF 3 could be extended to support near anything, without having to have those extensions explicitly contributed to the DWARF standard. Or did I miss understand the DWARF specs?
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2645
Re: Native Pascal Debugger?
« Reply #17 on: April 14, 2010, 04:19:11 pm »
thats what I wrote in my previous reply :)
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

Graeme

  • Hero Member
  • *****
  • Posts: 1428
    • Graeme on the web
Re: Native Pascal Debugger?
« Reply #18 on: April 15, 2010, 10:10:47 am »
@Marc
Your reply was on the next forum page so I didn't see it, sorry.
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

Kurt

  • Jr. Member
  • **
  • Posts: 63
Re: Native Pascal Debugger?
« Reply #19 on: October 28, 2010, 04:57:24 pm »
Sorry to resurrect an old thread, but I'm wondering if there has been any movement on this front since April?  One thing I miss from C++ Builder/Delphi (aside from being able to inspect any variable) is the ability to single-step through individual instructions from the assembler window.  Will the native Pascal debugger have this ability?

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2645
Re: Native Pascal Debugger?
« Reply #20 on: October 31, 2010, 04:04:25 pm »
You don't need a native pascal debugger for that. In theory it should be possible now, except that it isn't implemented yet. The disassembler view of lazarus needs to be improved like breakpoint support, single stepping, instructionpointer changes etc.

edit:
I mean, gdb has support for it, we only need to call it
« Last Edit: October 31, 2010, 11:36:54 pm by Marc »
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12201
  • FPC developer.
Re: Native Pascal Debugger?
« Reply #21 on: October 31, 2010, 07:37:01 pm »
Sorry to resurrect an old thread, but I'm wondering if there has been any movement on this front since April?  One thing I miss from C++ Builder/Delphi (aside from being able to inspect any variable) is the ability to single-step through individual instructions from the assembler window.  Will the native Pascal debugger have this ability?

A few weeks ago I looked at Duby's SF project, and it hadn't had commits in 6 months.

Graeme

  • Hero Member
  • *****
  • Posts: 1428
    • Graeme on the web
Re: Native Pascal Debugger?
« Reply #22 on: December 07, 2010, 01:10:15 pm »
variable) is the ability to single-step through individual instructions from the assembler window. 
You can already do that with MSEide and GDB. That functionality is not implemented in Lazarus IDE yet.

And no, there has been no recent developments in Duby. :-(
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11164
  • Debugger - SynEdit - and more
    • wiki
Re: Native Pascal Debugger?
« Reply #23 on: December 07, 2010, 02:48:38 pm »
variable) is the ability to single-step through individual instructions from the assembler window.  
You can already do that with MSEide and GDB. That functionality is not implemented in Lazarus IDE yet.

And no, there has been no recent developments in Duby. :-(


This function is implemented in Lazarus. (SVN)

The default keyboard assignment is different though:
* F7/F8 => normal
* Alt F7/F8 => instruction

But it can be changed in keyboard settings, so that F7/F8 acts depending on the active window (instruction if disassembler is active, normal otherwise)
« Last Edit: December 07, 2010, 02:56:17 pm by Martin_fr »

Borneq

  • Full Member
  • ***
  • Posts: 248
Re: Native Pascal Debugger?
« Reply #24 on: December 15, 2010, 08:21:55 am »
How install native debuggers instead Gdb?

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11164
  • Debugger - SynEdit - and more
    • wiki
Re: Native Pascal Debugger?
« Reply #25 on: December 15, 2010, 12:08:34 pm »
How install native debuggers instead Gdb?

Afaik, you can not.

Currently only gdb is supported.

 

TinyPortal © 2005-2018