Espresso
13-Jun-2009, 01:03 AM
Hi there!
Eureka Log 6.20 with Delphi 2006.
After logging 10 exceptions or so, the app terminates silently.
Is there anything I can do to prevet this? Thanks!
Here is the source to simple Delphi 2006 app to reproduce.
Just drop a button and an TEdit onto the form and press the button.
--------------------------------------------------------
unit Unit7;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExceptionLog, ECore;
type
TForm7 = class(TForm)
Button1: TButton;
Edit1: TEdit;
procedure Button1Click(Sender: TObject);
private
iPass : Integer;
public
{ Public declarations }
end;
var
Form7: TForm7;
Procedure LogException;
implementation
{$R *.dfm}
Procedure LogException;
begin
if IsEurekaLogInstalled then begin
StandardEurekaNotify( ExceptObject, ExceptAddr )
end else begin
ShowMessage( 'Eureka log is not installed.' );
end;
end;
procedure TForm7.Button1Click(Sender: TObject);
begin
CurrentEurekaLogOptions.ExceptionDialogType := edtNone;
iPass := 0;
while (true) do try
inc(iPass);
Edit1.Text := IntToStr(iPass);
Edit1.Refresh;
Raise Exception.Create('');
except
LogException;
end;
end;
end.
--------------------------------------------------------
Eureka Log 6.20 with Delphi 2006.
After logging 10 exceptions or so, the app terminates silently.
Is there anything I can do to prevet this? Thanks!
Here is the source to simple Delphi 2006 app to reproduce.
Just drop a button and an TEdit onto the form and press the button.
--------------------------------------------------------
unit Unit7;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExceptionLog, ECore;
type
TForm7 = class(TForm)
Button1: TButton;
Edit1: TEdit;
procedure Button1Click(Sender: TObject);
private
iPass : Integer;
public
{ Public declarations }
end;
var
Form7: TForm7;
Procedure LogException;
implementation
{$R *.dfm}
Procedure LogException;
begin
if IsEurekaLogInstalled then begin
StandardEurekaNotify( ExceptObject, ExceptAddr )
end else begin
ShowMessage( 'Eureka log is not installed.' );
end;
end;
procedure TForm7.Button1Click(Sender: TObject);
begin
CurrentEurekaLogOptions.ExceptionDialogType := edtNone;
iPass := 0;
while (true) do try
inc(iPass);
Edit1.Text := IntToStr(iPass);
Edit1.Refresh;
Raise Exception.Create('');
except
LogException;
end;
end;
end.
--------------------------------------------------------