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
|
begin:vcard
fn:Phil Middlemiss
n:Middlemiss;Phil
org:Vision Software, MTS Ltd
email;internet:[EMAIL PROTECTED]
title:Project Leader
tel;work:+64 7 3480001
tel;cell:+64 27 4592648
x-mozilla-html:TRUE
url:http://www.tumonz.co.nz
version:2.1
end:vcard
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi