Re: Program crashes when running it outside dev environment



z wrote:
I use Visual C 2005 to develop my programs. One in particular is
crashing in very specific and hard to replicate situations, made worse
by the fact it only crashes when run -outside- the dev - as an exe,
not from the Debug option. If I try to launch the debug on the
crashing program, it'll close before the debugger opens. Any
suggestions as to how I should proceed? Thanks in advance.

Does windows give you a core file you can debug?

--
Ian Collins.
.



Relevant Pages

  • Re: Program crashes when running it outside dev environment
    ... If I try to launch the debug on the ... crashing program, it'll close before the debugger opens. ... If it just fails strangely and sometimes inside system functions it might be overwritten memory or some such problem. ... Put one of those lines immediately before the line that crashes the program. ...
    (comp.lang.c)
  • Strange debugger behavior
    ... A second window opens up as it crashes, and it's a second debug window with ... How can I tell where my program is crashing? ...
    (comp.sys.mac.programmer.codewarrior)
  • Re: Windows service crash
    ... Have you tried to build a debug version of your service and try to attach to it? ... The reason of crashing could be anything and anywhere. ... Even if you can attach it to the process and the crash happens randomly, it is still difficult to find out why it is crashing. ... I guess you will need to isolate where your program crashes, at managed code or unmanaged code level. ...
    (microsoft.public.dotnet.framework.clr)
  • Re: Program crashes when running it outside dev environment
    ... by the fact it only crashes when run -outside- the dev - as an exe, ... not from the Debug option. ... crashing program, it'll close before the debugger opens. ...
    (microsoft.public.vc.ide_general)
  • Re: Unsatisfying syntax
    ... so the example you first gave was not exactly working (i.e ... crashing) code. ... You're making it harder on us to help you debug. ... yes, blanks in the name are bad, don't use them. ...
    (comp.databases.ms-access)