Created On:  21 October 2009

Problem:

I installed Fault Simulator SE but all my Menu options are disabled for Fault Simulator in my VS2003 IDE. How do I activate all these options?

Resolution:

All the options will be disabled until you set a fault on a supported line of code. For example you can set a Fault on this line on code, you should see that it is underlined with a squiggly line (source highlighting).

return System.Environment.MachineName;

Right click on the highlighted line and choose "Add .Net framework fault."

The "Start with Fault Simulator" option should now be enabled.

In order for the fault to fire you will need to invoke that line of code.