Hello,
while the trace stuff in IBDAC worked with Firebird 2.5.0, switching the same application to Firebird 2.5.1 gives troubles. TIBCTraceService.ListTraceSessions crahes the server if there are active trace sessions. The Trace API works fine when using the command-line utilities included in Firebird 2.5.1.
I'm using IBDAC 4.0.1 on Win7 Prof. 64-bit with Firebird 2.5.1 SuperClassic 64-bit.
Thanks,
Thomas
TIBCTraceService.ListTraceSessions and Firebird 2.5.1?
-
tsteinmaurer
- Posts: 52
- Joined: Thu 17 Dec 2009 08:25
-
AndreyZ
I cannot reproduce the problem. I've used the following code:, and the were no problems. Please check if this code works for you.
Code: Select all
Memo1.Clear;
Memo2.Clear;
IBCTraceService1.Attach;
IBCTraceService1.StartTrace;
Memo1.Lines.Add(IBCTraceService1.GetNextLine);
IBCTraceService2.Attach;
IBCTraceService2.ListTraceSessions;
while not IBCTraceService2.Eof do
Memo2.Lines.Add(IBCTraceService2.GetNextLine);
IBCTraceService2.Detach;
IBCTraceService1.Detach;-
tsteinmaurer
- Posts: 52
- Joined: Thu 17 Dec 2009 08:25
-
AndreyZ
-
tsteinmaurer
- Posts: 52
- Joined: Thu 17 Dec 2009 08:25