nobbe Posted May 1, 2008 Posted May 1, 2008 ; view with debug view ; http://technet.microsoft.com/en-us/sysinte...s/bb896647.aspx; ; credits go to ; Karsten Violka (kav@ctmagazin.de), Stefan Porteck (spo@ctmagazin.de) ; Func _DebugPrint($msg, $error = @error, $extended = @extended, $ScriptLineNumber = @ScriptLineNumber) ; view with debug view ; http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx Local $out = $msg & ", Line:" & $ScriptLineNumber & ", Error: " & $error & " " & $extended ;Output to application attaching a console to the script engine ConsoleWrite($out & @CRLF) ;Output to debugger (dbgview.exe) DllCall("kernel32.dll", "none", "OutputDebugString", "str", $out) EndFunc ;==>_DebugPrint
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now