Strange debugger behavior



Hello,

I am trying to debug my program, and when it's crashing, instead of
stopping at the point in the source where it crashed, it does something I
haven't seen before.

A second window opens up as it crashes, and it's a second debug window with
all of the play,stop, and step controls. It says it's for a different
thread than my main window's thread. The code in the new window is
illegible, machine stuff from dylib or something.

If I close the new thread window, I have to kill the whole process.

How can I tell where my program is crashing? I am not aware of starting any
threads separate from my progam, and I'm barely aware of what that even
means, having multiple threads...

Thanks
Bint

.



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)
  • 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: 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: Program crashes when running it outside dev environment
    ... by the fact it only crashes when run -outside- the dev - as an exe, ... If I try to launch the debug on the ... crashing program, it'll close before the debugger opens. ...
    (comp.lang.c)
  • Re: Subform recordset must include new?
    ... I don't get a Debug window:( ... "SusanV" wrote: ... Private Sub Form_Current ...
    (microsoft.public.access.formscoding)