Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
Silverlight 3
Debugger Class
Debugger Methods
 Break Method

  Switch on low bandwidth view
.NET Framework Class Library for Silverlight
Debugger..::.Break Method

Signals a breakpoint to an attached debugger.

Namespace:  System.Diagnostics
Assembly:  mscorlib (in mscorlib.dll)
Visual Basic (Declaration)
Public Shared Sub Break
Visual Basic (Usage)
Debugger.Break()
C#
public static void Break()

If no debugger is attached, users are asked if they want to attach a debugger. If yes, the debugger is started. If a debugger is attached, the debugger is signaled with a user breakpoint event, and the debugger suspends execution of the process just as if a debugger breakpoint had been hit.

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker