🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.winforms.controls.using
Article #104

Re: How to display unhandled exceptions of WinForm controls?

#104
From: Marc Rohloff TeamB
Date: Sun, 05 Feb 2006 22:44
22 lines
2269 bytes
On Sun, 5 Feb 2006 13:30:52 +0100, Efim Mett wrote:

> "Marc Rohloff [TeamB]" <"on request"> schrieb im Newsbeitrag
> news:u3m5y65wvt7b$.dlg@marcrohloff.com...

> Debugger achieves the line with throw..., but if I start it without
> debugger, I see nothing.
> Another exception that is thrown in ExceptionProducer, is properly
> propagated: you can observe it if you type anything in Textbox of it.
This is the top level exception handler so anything you throw there
will either terminate the app or disappear (I forget which).
You need to display your own dialog or at least use the build in
exception dialog.

> Ah, Marc, are you aware of other exceptions except of System.Timers.Timer
> that can't be trapped?
I have never really looked but I am sure this has probably been done
elsewhere.

-- 
Marc Rohloff [TeamB]
marc rohloff -at- myrealbox -dot- com
Technical Details
Message-ID: <r1o64x19ozm0$.dlg@marcrohloff.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <43e0a0f7$1@newsgroups.borland.com> <fw0ssgpcbnci.dlg@marcrohloff.com> <43e1fbb5$1@newsgroups.borland.com> <43e3825a$1@newsgroups.borland.com> <43e4daf7@newsgroups.borland.com> <s9xl7mqtm3lr.dlg@marcrohloff.com> <43e51a8e@newsgroups.borland.com> <u3m5y65wvt7b$.dlg@marcrohloff.com> <43e5ef2b@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1eff29,194438d0e7a327b6
X-Google-Attributes: gid1eff29,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Marc Rohloff [TeamB]" <"on request">
Subject: Re: How to display unhandled exceptions of WinForm controls?
Newsgroups: borland.public.delphi.winforms.controls.using
User-Agent: 40tude_Dialog/2.0.15.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
References: <43e0a0f7$1@newsgroups.borland.com> <fw0ssgpcbnci.dlg@marcrohloff.com> <43e1fbb5$1@newsgroups.borland.com> <43e3825a$1@newsgroups.borland.com> <43e4daf7@newsgroups.borland.com> <s9xl7mqtm3lr.dlg@marcrohloff.com> <43e51a8e@newsgroups.borland.com> <u3m5y65wvt7b$.dlg@marcrohloff.com> <43e5ef2b@newsgroups.borland.com>
Date: Sun, 5 Feb 2006 17:44:34 -0500
Message-ID: <r1o64x19ozm0$.dlg@marcrohloff.com>
X-Face: "huzh55Xi]!ZNni78>a*5+).`SK?<^q2MlHk-C]Z2M9T@\J5ZCB$95Ey+s"XQuhGFA[eutZ :0^AV!Q;t>gE`1-=8d;HZ6~*o1dH<X9\b$!|(}+I'!Xq)@3Op}%0ArW&nf'Qh*EwR
X-Antivirus: avast! (VPS 0606-0, 02/04/2006), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 65.31.14.220
X-Trace: newsgroups.borland.com 1139179111 65.31.14.220 (5 Feb 2006 14:38:31 -0700)
Lines: 22
X-Authenticated-User: mrohloff
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail