How Can I Debug Access Violations When Running My Program Outside the Debugger?
This topic applies to:
Pro and Team
Does not apply
Command or commands hidden by default.
Set the Just-in-time debugging option and run your program standalone until the access violation occurs. Then, in the Access Violation dialog box, you can click Cancel to start the debugger.
Also see the Knowledge Base article Q133174, "How to Locate Where a General Protection (GP) Fault Occurs." You can find Knowledge Base articles on the MSDN Library CD or at http://search.support.microsoft.com.