Sign in Join

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

Mailing lists / lazarus / 2018-07

fpdebug question

4 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

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

Vojtěch Čihák

Hi,
when I write following code (to force SIGSEGV)
 
unit Unit1;
{$mode objfpc}{$H+}
 
interface
 
uses
  Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls;  
type
  { TForm1 }
  TForm1 = class(TForm)
    Button1: TButton;
    procedure Button1Click(Sender: TObject);
  private
 
  public
 
  end;
 
var
  Form1: TForm1;
 
implementation
 
{$R *.lfm}
 
{ TForm1 }
 
procedure TForm1.Button1Click(Sender: TObject);
var a: array of Double;
begin
  a[99]:=3.14;
end;
 
end.      
 
with GDB: I got exception message box, then I got grayed line in Source Editor etc.  
with fpdebug: also exception message box, when I click OK then Lazarus Main window dissapears, Access Violation, and I have to restart whole IDE.  
Is it known issue? After all fpdebug is still marked "beta".  
PS: Good thing about fpdebug is lower memory footprint.   fpdebug: process lazarus 137MB
  gdb: process lazarus and gdb 86MB + 184MB = 270MB  
Thanks, Vojtěch

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20180713/b5f05c6f/attachment.html>

Reply by email

Martin Frb
to Vojtěch Čihák
Vojtěch Čihák wrote 5 lines
Hi, when I write following code (to force SIGSEGV)

...

Show quoted text 6 lines
with fpdebug: also exception message box, when I click OK then Lazarus Main window dissapears, Access Violation, and I have to restart whole IDE. Is it known issue? After all fpdebug is still marked "beta".

It was not.
It has been, since your mail.
It no longer is. (That is, it should be fixed in svn now)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20180713/16767f42/attachment.html>

Reply by email

Vojtěch Čihák
to Vojtěch Čihák: when I write following code (to force SIGSEGV)   unit Unit1; {$mode objfpc}{$H+}  …

Thank you very much! :-)
______________________________________________________________

Show quoted text 5 lines
Od: Martin Frb via Lazarus Komu: Datum: 13.07.2018 17:20 Předmět: Re: [Lazarus] fpdebug question

On 13/07/2018 16:01, Vojtěch Čihák via Lazarus wrote:Hi, when I write following code (to force SIGSEGV)
...
 with fpdebug: also exception message box, when I click OK then Lazarus Main window dissapears, Access Violation, and I have to restart whole IDE.  
Is it known issue? After all fpdebug is still marked "beta". It was not.
It has been, since your mail.
It no longer is. (That is, it should be fixed in svn now)

----------

Reply by email

Graeme Geldenhuys
to Martin Frb: ... It was not. It has been, since your mail. It no longer is. (That is, it should be…
Martin Frb wrote
It was not. It has been, since your mail. It no longer is. (That is, it should be fixed in svn now)

That is awesome! Only possible in open source. :-) Keep up the good work.

Regards,
Graeme

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp

Reply by email