Apr 5, 2014 SubName: IsDebuggerAttatched Description: Is the debugger attached? Returns true if it is, false if not. Dependencies/Libraries: Reflection Needs the reflection lib Code: Copy ' Returns TRUE if the B4A debugger is attached Public Sub IsDebuggerAttatched() As Boolean Dim r As Reflector Return( r.GetStaticField("anywheresoftware.b4a.BA", "debugMode") ) End Sub Tags: debugger Last edited: Apr 6, 2014 Click to expand...
SubName: IsDebuggerAttatched Description: Is the debugger attached? Returns true if it is, false if not. Dependencies/Libraries: Reflection Needs the reflection lib Code: Copy ' Returns TRUE if the B4A debugger is attached Public Sub IsDebuggerAttatched() As Boolean Dim r As Reflector Return( r.GetStaticField("anywheresoftware.b4a.BA", "debugMode") ) End Sub Tags: debugger