nobbe Posted May 1, 2008 Share 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 Link to comment Share on other sites More sharing options...
87yj Posted April 4, 2009 Share Posted April 4, 2009 Very Useful! Thanks! Link to comment Share on other sites More sharing options...
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