Monday, January 24, 2011

Capture error from Computer systems & debug a crashed process

In VS, uncheck Enable Just My Code option under Options->debugging->general, when a process crashed, go to Attach to Process->and choose the process, click on Break All breakpoints and should be able to view the stack trace and the line of code that caused the crashed.

Your operating system's system log may also have a crash report. The information will probably include the name of the module that caused the crash. On recent Windows versions, go to Start > Settings > Control Panel > Administrative Tools > Event Viewer. In the application tab, right-click on the event and select Properties. When you report the event, you should copy the information from the log.

No comments:

Post a Comment