Core Function Debug

From Sputnik Wiki
Jump to: navigation, search
Debug( <flag> )

Contents

Description

Enter or leave debug mode in debug state the program can interact with operating system processes that run in a special mode by enabling the native property SeDebugPrivilege on the current thread.

Parameters

flag

0 = Leave Debug Mode
1 = Enter Debug Mode

Return Value

Success: Returns 1.

Failure: Returns 0.

Remarks

Your script must be running with *Run as administrator* in order to gain special debug privileges.

Example

Debug(1); // ON
Debug(0); // OFF
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox