[DUG] app terminating abruptly
Ross Levis
ross at stationplaylist.com
Wed Nov 30 14:35:46 NZDT 2005
I've got madExcept installed and enabled it initially when this problem
started, but guess what, the app still terminates with no error box or
anything.
It is also not a proper program closure since the system tray icon stays
in the system tray until you move the mouse over it.
I didn't know about OutputDebugString. What I did do is write a Debug
unit which outputs a string to a file. I haven't yet put a line into
every procedure and function at this stage so that may help as well, but
I have a timer at 10ms doing things like checking for data on TCP
sockets and various other things so this file will get big very fast. I
think I'll change it to keep only the last few lines.
Cheers,
Ross.
----- Original Message -----
From: "Nahum.Wild" <Nahum.Wild at payglobal.com>
To: "'NZ Borland Developers Group - Delphi List'" <delphi at ns3.123.co.nz>
Sent: Wednesday, November 30, 2005 11:12 AM
Subject: RE: [DUG] app terminating abruptly
Use madExcept [http://www.madexcept.com/madExceptDescription.htm] it'll
give
you a call stack for each thread running when the crash occurs. Since
using
it our tricky unexplained crashes have turned into 'it crashed there,
now
why did it do that' type problems.
Nahum.
> -----Original Message-----
> From: delphi-bounces at ns3.123.co.nz
> [mailto:delphi-bounces at ns3.123.co.nz] On Behalf Of Conor Boyd
> Sent: Wednesday, 30 November 2005 11:03 a.m.
> To: 'NZ Borland Developers Group - Delphi List'
> Subject: RE: [DUG] app terminating abruptly
>
> In terms of logging, you could look at tracing using the
> OutputDebugString method in the Windows unit (D5 anyway).
>
> If you're outputting stuff via that method, you could pick it
> up in realtime and remotely using something like DebugView
> from Sysinternals
> (http://www.sysinternals.com/Utilities/DebugView.html)
>
> HTH,
>
> Conor
>
> -----Original Message-----
> From: delphi-bounces at ns3.123.co.nz
> [mailto:delphi-bounces at ns3.123.co.nz] On Behalf Of Robert martin
>
> You might also want to log where your code is running in a
> file log, this might give you a hint as to where the error is
> occurring.
>
> [snip]
>
> _______________________________________________
> Delphi mailing list
> Delphi at ns3.123.co.nz
> http://ns3.123.co.nz/mailman/listinfo/delphi
>
_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz
http://ns3.123.co.nz/mailman/listinfo/delphi
More information about the Delphi
mailing list