Steps to debug/step through some java code?
<p>yes, this is a very noobish question. I'm a .NET developer and I need to step through some java code to see <em>exactly</em> what is going on so i can port some java into some c#. So far i've not needed to do that .. until now.</p>

<p>So .. i have absolutely <em>zero knowledge</em> of java debugging. So can someone please explain in blond-speak how i can debug the following java program, and specifically ... this line/method in the following</p>

<p>=> code source <a href="http://www.julienlecomte.net/yuicompressor/yuicompressor-2.4.2.zip" rel="nofollow" title="YUI Compressor 2.4.2">zipped, found here</a>.<br />
=> line of code: <code>\src\com\yahoo\platform\yui\compressor\JavaScriptCompressor.java</code>  :: line 550 ... <code>buildSymbolTree();</code></p>

<p>Now, to add to my embarassment, I have no idea what program i need to download, what steps i need to do to add this java project, add a breakpoint, start debugger, etc.</p>

<p>I would appreciate it if someone could provide some steps to doing this.</p>

<p>Oh .. this will be all installed on a virtual pc running windows xp.
The only thing this virtual pc has installed on it (currently) is windows xp &amp; the java runtime (jre-6u12....)</p>

<p>Thanks kindly!</p>

<h2>Steps (will update when more info comes in)</h2>

<ol>
<li>Grab/install NetBeans Ide from <a href="http://www.netbeans.org/" rel="nofollow">here</a>. (Program to debug java with).</li>
<li>(how to open an existing project?)</li>
<li>(how to make a break point?)</li>
<li>(how to start debugging .. including defining the command line args to read in the file?)</li>
<li>(how to make a watch item?)</li>
</ol>

<h2>Wiki Mode</h2>

<ul>
<li>Made this a wiki so other people can edit/update the steps.</li>
</ul>
