Core file equivalent on Windows

Core file equivalent on Windows

I'm running large distributed parallel jobs. Due to the nature of the jobs, it is often not feasible to attach a debugger to a running job, or to run a task in the debugger.

One debugging tool that is useful in the Unix world is the core file. If a parallel task crashes, you get a core dump that can be analyzed in the debugger. The most important information (available even in executables built without debug) is the stack trace at the time of the crash.

Is there a way to get equivalent functionality using Visal Fortran?

5 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Which operating system? Under the NT family you have Dr. Watson dumps and mini dumps.

James

Good thought, but I'm not sure how this would be set up for a distributed application. In other words, can you do this if the program is started by a service on a remote host that is not known to the user at launch time?

Pete

By the way, this is W2K pro.

Pete

You might try something like calling MiniDumpWriteDump from an exception handler, that should work for any case. For W2K you would need to distribute DbgHelp.dll to have access to this function. See the docs for minidumps.

James

Leave a Comment

Please sign in to add a comment. Not a member? Join today