>>>Hi All, does c# have a equivalent to Foxpros' Suspend / Set Step On ?
>>
>>
>>
>>System.Diagnostics.Debugger.Break();
>>
>>
>>
>>Kurt
>
>Thanks everybody - exactly what I was looking for - it's useful sometimes when the breakpoints in the IDE don't fire for whatever reason :-(
Unless you actually want to debug the Release version it can be a good idea to conditionally compile:
#if DEBUG
System.Diagnostics.Debugger.Break();
#endif
(assuming you haven't changed the default configurations)