Hi Phil,
 
Thanks
 
I just did the testing before reading your post.
 
It seems works in my test environment. ;-)
 
Regards
Leigh
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Phil Middlemiss
Sent: Tuesday, 25 July 2006 3:09 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Stack print in Delphi with thread

I think you can test it without purchasing it within the IDE if you want to test that it can do everything you need.

I have our ISAPI DLLs on our web server set up to send me an email with a stack track whenever there is an unexpected (and unhandled) exception. It's quite flexible.

Cheers,
Phil.

Leigh Wanstead wrote:
Hi Phil,
 
Thanks
 
I talked to my boss and he agreed to get one copy ;-) Hope eurekalog works.
 
Regards
Leigh
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Phil Middlemiss
Sent: Tuesday, 25 July 2006 1:39 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Stack print in Delphi with thread

Can't help you with that one, but have a look at EurekaLog (http://www.eurekalog.com/) which is absolutely brilliant.
Phil.

Leigh Wanstead wrote:
Hello everyone,
 
I am using Project JEDI Code Library (JCL) JclDebug.pas to capture stack trace. It works great for main thread. But using Indy TCP/IP server environment onExecute event handler code, no stack can be captured. The reason for that is in different thread from the main thread. Does anyone know how to solve it?
 
Here is the code template.
 
var
  varStringListStack: TStringList;
    JclStartExceptionTracking;
    try
        try
            // do something might throw thread ......
        except
            on E: Exception do
            begin
              varStringListStack := TStringList.Create;
              try
                varStringListStack.BeginUpdate;
 
                JclLastExceptStackListToStrings(varStringListStack, False, True, True);
                varStringListStack.EndUpdate;
              finally
                FreeAndNil(varStringListStack);
              end;
            end;
        end;
  finally
    JclStopExceptionTracking;
  end;
TIA
 
Regards
Leigh
 

_______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi

_______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to