This method lives inside System.Diagnostics Namespace. This method Signals a breakpoint to an attached debugger.
This is really useful when we debugging .NET Windows Service. In your Program add the following line of code wherever you want to break into debug mode:
System.Diagnostics.Debugger.Break()
Nandri(Thanks)
Sreenivasaragavan
No comments:
Post a Comment