Discussion:
[Lazarus] fpdebug question
Vojtěch Čihák via Lazarus
2018-07-13 14:01:51 UTC
Permalink
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
Martin Frb via Lazarus
2018-07-13 15:20:19 UTC
Permalink
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)
Graeme Geldenhuys via Lazarus
2018-07-15 19:05:59 UTC
Permalink
On 07/13/18 16:20, Martin Frb via Lazarus 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
--
Vojtěch Čihák via Lazarus
2018-07-13 15:36:20 UTC
Permalink
Thank you very much! :-)
______________________________________________________________
> Od: Martin Frb via Lazarus <***@lists.lazarus-ide.org>
> Komu: ***@lists.lazarus-ide.org
> 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)




----------

--
_______________________________________________
Lazarus mailing list
***@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus <https://lists.lazarus-ide.org/listinfo/lazarus>
Loading...