|
Redirect trace output to a notepad window
|
Reply to this subject
Start a new subject
 
Refresh page
| Posted by |
Nick Gammon
Australia (15,394 posts) bio
|
| Date |
Thu 05 Feb 2009 03:35 AM (UTC) [ quote
] |
| Message |
This small plugin redirects trace output (from the Game menu -> Trace) to a notepad window, rather than the main output window.
This is particularly useful if you are debugging triggers which omit from output, as that will also omit the trace output from the output window.
Save between the lines as Trace_To_Notepad.xml and use File menu -> Plugins to load that file as a plugin.
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE muclient>
<!-- Saved on Thursday, February 05, 2009, 3:33 PM -->
<!-- MuClient version 4.37 -->
<!-- Plugin "Trace_To_Notepad" generated by Plugin Wizard -->
<muclient>
<plugin
name="Trace_To_Notepad"
author="Nick Gammon"
id="adf79802005a0d6186530bee"
language="Lua"
purpose="Redirects trace to a notepad window"
date_written="2009-02-05 15:32:15"
requires="3.67"
version="1.0"
>
</plugin>
<!-- Script -->
<script>
<![CDATA[
function OnPluginTrace (line)
AppendToNotepad ("Trace", line .. "\r\n")
end
]]>
</script>
</muclient>
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | top |
|
| Posted by |
Nick Gammon
Australia (15,394 posts) bio
|
| Date |
Thu 05 Feb 2009 06:05 AM (UTC) [ quote
] |
| Message |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
1,245 views.
Reply to this subject
Start a new subject
 
Refresh page
top
Comments to:
Gammon Software support
Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )