Re: Getting crash information

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi,
If you don'y want to modify your application, one thing that you can do is

Well I can change my application, modify the source, if it can help me catch
the bugs that crashes my application. In this case do u mean I'll have to
use the MiniDump* apis that u gave the link of?

regards,

...ab

"William DePalo [MVP VC++]" <willd.no.spam@xxxxxxxx> wrote in message
news:u85c0eGTHHA.3592@xxxxxxxxxxxxxxxxxxxxxxx
"Abubakar" <emailallrise@xxxxxxxxx> wrote in message
news:eLbsjFGTHHA.5060@xxxxxxxxxxxxxxxxxxxxxxx
I want to know that when my application is running outside of the
debugger (in debug or release build) can I set the application/project
settings in a way that when it crashes it tells me which method of which
class it was running while it crashed. And can it also give me the stack
trace of when the crash happened?

If you don'y want to modify your application, one thing that you can do is
to make sure the Dr. Watson is set as the JIT debugger. It will create a
crash dump if you set that option. Run

drwtsn32.exe

for details.

I'm asking this cuz I'm running the app in a machine in which I cant
install the visual studio, but I do have the freedom of placing as many
files (debug dlls objs etc) as I want to.

Another option is to instrument your application to create a minidump:

http://msdn2.microsoft.com/en-us/library/ms680369.aspx

Regards,
Will
www.ivrforbeginners.com




.



Relevant Pages

  • Loading Forms Crashes Access 2000 in Win98 Computer
    ... When I try to load up a form, either to use it or to modify it, Access ... crashes almost every time. ... What might be causing this and what should I do? ...
    (microsoft.public.access.forms)
  • Re: Design this Page crashes IE!
    ... Whenever I want to update a sharepoint home page and click Modify Page ... then Design this Page IE crashes and closes. ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: MS Media Encoder and MPEG
    ... Pixel Format before it crashes? ... Is there any change if you modify ... for example setting it to IYUV or I420 before encoding? ...
    (microsoft.public.windowsmedia.player)
  • Design this Page crashes IE!
    ... I want to update a sharepoint home page and click Modify Page then Design ... this Page IE crashes and closes. ... It happeneing on the 6 or 7 sites we ...
    (microsoft.public.sharepoint.windowsservices)