<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ladysign Dev Blog &#187; debugging</title>
	<atom:link href="http://www.ladysign-apps.com/blog/tag/debugging/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ladysign-apps.com/blog</link>
	<description>Girls can code.</description>
	<lastBuildDate>Mon, 12 Dec 2011 16:58:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Debugging Eclipse / RAD</title>
		<link>http://www.ladysign-apps.com/blog/code/java/debugging-eclipse-rad/</link>
		<comments>http://www.ladysign-apps.com/blog/code/java/debugging-eclipse-rad/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 13:58:44 +0000</pubDate>
		<dc:creator>Lee</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[nullpointer]]></category>

		<guid isPermaLink="false">http://ladysign-apps.com/blog/?p=157</guid>
		<description><![CDATA[<p><strong>Difficulty:</strong> 1 out of 5 stars</p>
<p>Okay, maybe this blog item is not worth for 1 rating star and maybe this trick is so well known that it&#8217;s only me w[......]</p><p class='read-more'><a href='http://www.ladysign-apps.com/blog/code/java/debugging-eclipse-rad/'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<p><strong>Difficulty:</strong> 1 out of 5 stars</p>
<p>Okay, maybe this blog item is not worth for 1 rating star and maybe this trick is so well known that it&#8217;s only me who gets really happy. But using this trick can save me a lot of frustration and painful fists (stop-restarting debug mode &#8220;je-weet-toch&#8221;) that I should write this debugging trick down.</p>
<p>Say: During debugging you notice, that you specify a not existing or wrong variable. This results in a nullpointer. Fine. But instead of stop debug mode > changing code > restart debug mode (fails again, repeat process), you can also change the value on the fly, while in debug mode.<br />
(At least when using with Eclipse or RAD.)</p>
<p>1. Create a debug point on the line, where the value is wrong.<br />
2. In case the value is shoot into a method, go in that method till you get the wrong value.<br />
3. Select the variable in your Debug-Variable window (Eclipse/RAD); Right click > Change variable<br />
4. Enter a new variable, can be String, int or boolean &#8211; OK<br />
5. Play the debug mode.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ladysign-apps.com/blog/code/java/debugging-eclipse-rad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

