Software Alternatives & Reviews

Script works if I walk through it (debug, VSCode), but if I just 'run' it without any breakpoints or interrupts, it crashes silently with no errors

Process Monitor Process Explorer
  1. Monitor file system, Registry, process, thread and DLL activity in real-time.
    If your program abruptly terminates with an abnormal closing state, there's a good chance the kernel killed it. There could be all sorts of reasons - you ran out of memory, you committed an access violation, you were terminated by another process like an oomkiller or a virus protection, etc. Tracing your execution by emitting some output is a perfectly reasonable place to start, and there are, frankly, about a billion tools that can trace processes to see what is going on. Process Monitor is a nice tool. So is Process Explorer. You could examine the process exit code as described here to get another clue as to why python.exe is aborting.

    #Monitoring Tools #Command Line Tools #Performance Monitoring 182 social mentions

  2. The top window always shows a list of the currently active processes, including the names of their owning accounts, whereas the information displayed in the bottom window depends on the mode that Process Explorer is in: if it is in handle mode you'l…
    If your program abruptly terminates with an abnormal closing state, there's a good chance the kernel killed it. There could be all sorts of reasons - you ran out of memory, you committed an access violation, you were terminated by another process like an oomkiller or a virus protection, etc. Tracing your execution by emitting some output is a perfectly reasonable place to start, and there are, frankly, about a billion tools that can trace processes to see what is going on. Process Monitor is a nice tool. So is Process Explorer. You could examine the process exit code as described here to get another clue as to why python.exe is aborting.

    #Monitoring Tools #Command Line Tools #Performance Monitoring 287 social mentions

Discuss: Script works if I walk through it (debug, VSCode), but if I just 'run' it without any breakpoints or interrupts, it crashes silently with no errors

Log in or Post with