<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://robowiki.net/w/index.php?action=history&amp;feed=atom&amp;title=User%3AJdev%2FCode%2FDebugCode</id>
	<title>User:Jdev/Code/DebugCode - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://robowiki.net/w/index.php?action=history&amp;feed=atom&amp;title=User%3AJdev%2FCode%2FDebugCode"/>
	<link rel="alternate" type="text/html" href="http://robowiki.net/w/index.php?title=User:Jdev/Code/DebugCode&amp;action=history"/>
	<updated>2026-04-12T12:51:36Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>http://robowiki.net/w/index.php?title=User:Jdev/Code/DebugCode&amp;diff=27961&amp;oldid=prev</id>
		<title>Jdev: It's a technique for inject into robots permanent debugging code without impact on &quot;production&quot;. Feel free to adopt and/or use it</title>
		<link rel="alternate" type="text/html" href="http://robowiki.net/w/index.php?title=User:Jdev/Code/DebugCode&amp;diff=27961&amp;oldid=prev"/>
		<updated>2012-12-23T15:14:12Z</updated>

		<summary type="html">&lt;p&gt;It&amp;#039;s a technique for inject into robots permanent debugging code without impact on &amp;quot;production&amp;quot;. Feel free to adopt and/or use it&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;It's a technique for inject into robots permanent debugging code without impact on &amp;quot;production&amp;quot;. Feel free to adopt and/or use it&lt;br /&gt;
&lt;br /&gt;
'''DebugCode:'''&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
public class DebugCode {&lt;br /&gt;
&lt;br /&gt;
    public boolean e() { return true;}&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Usage:'''&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
assert new DebugCode() {{&lt;br /&gt;
    // this code will be executed only if JVM are runned with &amp;quot;-ea&amp;quot; flag&lt;br /&gt;
    dangers.addValue(cmo.danger);&lt;br /&gt;
    dangers.addValue(smo.danger);&lt;br /&gt;
    dangers.addValue(ccmo.danger);&lt;br /&gt;
}}.e();&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jdev</name></author>
		
	</entry>
</feed>