<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: AutoIt code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Sat, 11 Oct 2008 12:32:17 GMT</pubDate>
    <description>DZone Snippets: AutoIt code</description>
    <item>
      <title>dbg - debuging routine</title>
      <link>http://snippets.dzone.com/posts/show/4680</link>
      <description>A handy little routine to debug autoit scripts&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;dbg("Log this message")&lt;br /&gt;Func dbg($msg, $error=@error, $extended=@extended, $ScriptLineNumber=@ScriptLineNumber)&lt;br /&gt;    Local $out = "(" &amp; $ScriptLineNumber &amp; ")(" &amp; $error &amp; ")(" &amp; $extended &amp; ") := " &amp; $msg &lt;br /&gt;    ;Output to application attaching a console to the script engine&lt;br /&gt;    ConsoleWrite($msg &amp; @CRLF)&lt;br /&gt;    ;Output to debugger (dbgview.exe)&lt;br /&gt;    DllCall("kernel32.dll", "none", "OutputDebugString", "str", $out)&lt;br /&gt;EndFunc&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Sat, 20 Oct 2007 07:31:06 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/4680</guid>
      <author>uten (ksflock)</author>
    </item>
  </channel>
</rss>
