Table of Contents

Class DebugUtils

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Contains static methods related to the debug process.

public static class DebugUtils
Inheritance
DebugUtils

Fields

DebugLoading

Gets or sets whether to log application loading process.

IsDebugDefined

Gets a value that indicates whether DEBUG conditional is defined.

UseDlOpenOnLinux

Gets or sets whether to use 'dlOpen' on Linux in order to load native dll.

Methods

DebugCallIf(bool, Action)

Calls the specified action if condition and IsDebugDefined are true.

HookExceptionEvents()

Hooks exception events for the debug purposes.

WaitDebugger(string?)

Waits until debugger is attached. Uses debugOptionFileName file existance in order to get "wait" setting on/off.