On 10/6/06, D.J. Heap <djheap@gmail.com> wrote:
>
> On 10/3/06, Moisei Rabinovich <moisei@gmail.com> wrote:
> [snip]
> > For svn windows dev: IMHO under any condition the pop up error dialog is
> not
> > acceptable - it freezes the entire process
> > without report an error back to the caller application that is the
> worse
> > behavior one can imagine for any automation system
> > There are some techniques to prevent windows application to raise such
> a
> > dialogs, I would consider to use it for svn application.
> >
>
>
> I agree -- can you work up a patch to implement this?
>
> DJ
>
I can't work on the patch, no time for that, sorry. It requires a deep
knowledge of the code base that I do not have.
For the one who (and whether) is going to implement it, I recommend to look
at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/seterrormode.asp
In particular, SetErrorMode(SEM_FAILCRITICALERRORS); can do the job,
if the rest of the code matches the conditions defined in the function
description.
Also _set_se_translator (
http://msdn2.microsoft.com/en-us/library/5z4bw5h5.aspx)
could help to get a stack trace on crash and save it in the separate file,
so it can be investigated later by the developers.
--
Best Regards,
Moisei
Received on Fri Oct 6 20:36:02 2006