We're running an application, happens to be web server we've written, and we're saying some nasty issues only in production, so for about 12 hours we're going to put this under WinDBG and take callstacks every time it breaks.
Sometimes it'll break because of an unhandled exception, and sometimes we'll hit an assert, at which point our code says if running under a debugger, break.
Is it possible to hook into WinDBG in such a way that as soon it breaks, it takes a callstack, and moves on immediately?