[Lazarus] fpdebug question
Vojtěch Čihák
vojtech.cihak at atlas.cz
Fri Jul 13 16:01:51 CEST 2018
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>
More information about the Lazarus
mailing list