MiniDump for C#!?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jochen Kalmbach

    #1

    MiniDump for C#!?

    Hello,

    I just have a small question about crash-dumps for C#-apps:

    In "normal" unmanaged apps I can use "MiniDumpWriteD ump" to write a mini-
    dump if an exception occurs (via. "SetUnhandledEx ceptionFilter")

    With this file it is easy possible to find the source of the crash.


    How should this be solved in C# (or CLR) ?
    Is there an comparable mechanism to write a "minidump" !?

    Any comments are welcome...


    --
    Greetings
    Jochen

    Do you need a memory-leak finder ?

  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: MiniDump for C#!?

    Jochen,

    I don't think that there is anything like this out-of-the-box for the
    framework. However, if you are looking for the source of the crash, that is
    rather easy when an exception occurs. A full stack trace is delivered along
    with the exception, so that should be a good place to start.

    Hope this helps.


    --
    - Nicholas Paldino [.NET/C# MVP]
    - nick(dot)paldin o=at=exisconsul ting<dot>com

    "Jochen Kalmbach" <nospam-Jochen.Kalmbach @holzma.de> wrote in message
    news:Xns9401909 F6C598JochenKal mbachholzm@127. 0.0.1...[color=blue]
    > Hello,
    >
    > I just have a small question about crash-dumps for C#-apps:
    >
    > In "normal" unmanaged apps I can use "MiniDumpWriteD ump" to write a mini-
    > dump if an exception occurs (via. "SetUnhandledEx ceptionFilter")
    >
    > With this file it is easy possible to find the source of the crash.
    >
    >
    > How should this be solved in C# (or CLR) ?
    > Is there an comparable mechanism to write a "minidump" !?
    >
    > Any comments are welcome...
    >
    >
    > --
    > Greetings
    > Jochen
    >
    > Do you need a memory-leak finder ?
    > http://www.codeproject.com/tools/leakfinder.asp[/color]


    Comment

    Working...