Name
Debugger
Synopsis
This class enables you to control the debugger from the debugged
code. If a debugger is executing your code, IsAttached
returns true
. Break()
sets a breakpoint and causes the
debugger to pause. Log()
logs output to the
debugger window. The Launch()
method launches
the debugger and attaches it to your process, returning true
if successful or if the debugger is
already attached. Launch()
returns false
if the debugger could not be attached.
Public NotInheritable Class Debugger ' Public Constructors Public Sub New() ' Public Shared Fields Public Shared ReadOnly DefaultCategory As String ' Public Shared Properties Public Shared ReadOnly Property IsAttached As Boolean ' Public Shared Methods Public Shared Sub Break() Public Shared Function IsLogging() As Boolean Public Shared Function Launch() As Boolean Public Shared Sub Log(ByVal level As Integer, ByVal category As String, ByVal message As String) End Class
Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.