Re: Identifying function name
Tech-Archive recommends: Fix windows errors by optimizing your registry
AA2e72E wrote:
"Arne Vajhøj" wrote:
AA2e72E wrote:
Is there some generic property that will give me the name of a function
within its catch block?
What are you trying to accomplish ?
(when you write the code you know the function name)
> I have a single error reporting method that takes the exception
variable as
> its argument; so I don't know which method caused the exception but as
> detailes in the Jon Skeet's post, the exception variable holds the name.
Yes. And because you already have the exception, then there are
very little overhead.
Arne
.
Relevant Pages
- Re: [RFC] hwbkpt: Hardware breakpoints (was Kwatch)
... think it will accomplish nothing more than hiding some implementation ... Calling send_sigtrap twice during the same exception does happen to be ... the standard form is that when there is a ptrace exception, ... In the old do_debug code, if a notifier returns NOTIFY_STOP, ... (Linux-Kernel) - Re: True Cardiac Risks of AD/HD Medications
... where people play on a team to accomplish a goal, ... To WHAT high paying position (for doing nothing, ... I must admit I did work with a company on contract which was ... No exception. ... (misc.health.alternative) - Re: IObjectWithSite and IOLECommandTarget Issue
... any tips on how to a accomplish what you have suggested. ... but I get a "no such interface" exception when trying to query for ... (microsoft.public.inetsdk.programming.webbrowser_ctl) - Re: Funny Story at the Gym
... >Larry Hodges wrote: ... >>>People like to be appreciated for what they can accomplish, ... (With the exception of people who have accomplished ... >I bow to your superior wisdom. ... (misc.fitness.weights) - Re: Continue running after unhandled exception caught
... > I'm using the Global UnhandledExceptionFilter by the ... > to the handler again... ... > throw exception and force the program to execute the next statement ... what is it that you're really trying to accomplish? ... (microsoft.public.vc.language) |
|