<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.ice-online.com/index.php?action=history&amp;feed=atom&amp;title=DEBUG</id>
	<title>DEBUG - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ice-online.com/index.php?action=history&amp;feed=atom&amp;title=DEBUG"/>
	<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=DEBUG&amp;action=history"/>
	<updated>2026-11-29T02:45:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://wiki.ice-online.com/index.php?title=DEBUG&amp;diff=705&amp;oldid=prev</id>
		<title>ConvertBot: turns ON/OFF the debug modes of NeXtMidas</title>
		<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=DEBUG&amp;diff=705&amp;oldid=prev"/>
		<updated>2020-04-27T22:04:32Z</updated>

		<summary type="html">&lt;p&gt;turns ON/OFF the debug modes of NeXtMidas&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;turns ON/OFF the debug modes of NeXtMidas&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;state&amp;gt; ON or OFF&lt;br /&gt;
&amp;lt;func&amp;gt;  Specific function or area of debug, ALL for all areas,&lt;br /&gt;
        -or- set debug for specified fully qualified class name.&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;function&amp;gt; can be any of the following:&lt;br /&gt;
&lt;br /&gt;
Function       Description&lt;br /&gt;
--------       ------------------------------------------------------------&lt;br /&gt;
IO             reports file/pipe opens,grabs,filads, and closes&lt;br /&gt;
MACRO          report information on macro execution&lt;br /&gt;
PIPES          report information on pipe creation and attaching&lt;br /&gt;
GRAPHICS       report information on graphics routines&lt;br /&gt;
RESULTS        report information on results handling&lt;br /&gt;
PRIMITIVE      report information specific to a primitive&lt;br /&gt;
EXECUTIVE      report information on executive primitives (NONE YET - TBD)&lt;br /&gt;
ARGS           report information on arguments (nxm.lib.Args.java)&lt;br /&gt;
TRACE          report trace back information (stack trace) on exceptions&lt;br /&gt;
SUPERTRACE     report source code surrounding exception (if available),&lt;br /&gt;
                 requires TRACE to be turned on.&lt;br /&gt;
DEPRECATE      report deprecation messages for methods being phased out&lt;br /&gt;
&lt;br /&gt;
If there's a dot in &amp;lt;func&amp;gt;, then assume its a classname and try to set its&lt;br /&gt;
static debug state by invoking it's static setDebug(boolean) method.&lt;br /&gt;
&lt;br /&gt;
The current debug state is held in ENV.DEBUG.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
  1. Display current debug settings&lt;br /&gt;
    nM&amp;gt; debug&lt;br /&gt;
&lt;br /&gt;
  2. Turn on all debugging&lt;br /&gt;
    nM&amp;gt; debug on all&lt;br /&gt;
&lt;br /&gt;
  3. Turn on ONLY stack traces and show the debug state&lt;br /&gt;
    nM&amp;gt; debug off all&lt;br /&gt;
    nM&amp;gt; debug on trace&lt;br /&gt;
    nM&amp;gt; res env.debug&lt;br /&gt;
     7S: ENV.DEBUG       = |Trace|&lt;br /&gt;
&lt;br /&gt;
  4. Turn on debug for the waveform primitive in the current shell&lt;br /&gt;
    nM&amp;gt; debug on nxm.sys.prim.waveform&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Switches:&lt;br /&gt;
  /LOAD=&amp;lt;res&amp;gt; - Restore debug level from the specified result.&lt;br /&gt;
                Defaults to &amp;quot;OLDDEBUGMODE&amp;quot; if value is not specified.&lt;br /&gt;
  /SAVE=&amp;lt;res&amp;gt; - Store current debug level to the specified result.&lt;br /&gt;
                Defaults to &amp;quot;OLDDEBUGMODE&amp;quot; if value is not specified.&lt;br /&gt;
  /VERBOSE    - Force display of new debug settings to terminal. (Since 3.1.1)&lt;br /&gt;
                [DEF=FALSE in macro, TRUE in interactive shell]&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: ENV&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:NXM_Explain]]&lt;/div&gt;</summary>
		<author><name>ConvertBot</name></author>
		
	</entry>
</feed>