Function Reference


_DebugOut

Displays output on a debugging session started by _DebugSetup()

#include <Debug.au3>
_DebugOut ( $sOutput )

Parameters

$sOutput The string (or other printable value) to be output to the debugging session.

Return Value

Success: 1 (see remarks).
Failure: 0 and sets the @error flag to non-zero.
@error: 1 - $sOutput is an incompatible type.
3 - _DebugSetup() did not run properly.

Remarks

@error and @extended of the caller are preserved.

Each time _DebugOut() is called, the output is put on its own line.

Related

_DebugSetup

Example

#cs ----------------------------------------------------------------------------
  AutoIt Version: 3.2.8.1
  Author:     David Nuttall
  Script Function:
  Base script to show functionality of Debug functions.
#ce ----------------------------------------------------------------------------
#include <Debug.au3>
_DebugSetup ("Check Excel")
For $i= 1To 4
WinActivate ("Microsoft Excel")
; interact with Excel
Send ("{Down}")
_DebugOut ("Moved Mouse Down")
Next

AltStyle によって変換されたページ (->オリジナル) /