Pramod Gopinath's Weblog
Phobos ServerSide Javascript Debugging in Netbeans
Until we have the builds ready these are the steps that would enable Phobos server side Javascript debugging in Netbeans IDE.
1. Checkout and build a Phobos distribution following the instructions provided at https://phobos.dev.java.net/building.html.
These are the steps that I followed :
mkdir phobosSrcCode
cd phobosSrcCode
cvs -d :pserver:<
ant
cvs -d :pserver:<
cd phobos/phobos
ant dist
3. Launch netbeans 5.5 IDE and open the phobos project by using
"File"->"Open Project" : Select "<pathTo>phobosSrcCode/phobos/phobos" & click "Open Project Folder" button.
"File"->"Open Project" : Select "
"File"->"Open Project" : Select "
5. Now lets build the required Netbeans projects. For each of the projects that are listed below, you need to click the right mouse and select "Build Project" :
phobos-server
Phobos Debug Interfaces Library
Phobos NetBeans plugin
Phobos Debugger
6. Then for each of the project that we built in step 5 (again following the same order), we need to right click on them and execute "Install/Reload in Development IDE".
7. Let us install the javascript editor module into netbeans.
Select "Tools"->"Update Center"->"Check the web for Updates".
Ensure that "AJAX Update Center" is selected.
Also check that your proxy information is correct.
Click on "Next" button and from the listbox "AJAX Update Center"->"Select Modules to Install"
select "CSSCompletion" and "Javascript Editor".
Click the "Next" button, "Accept" the license and then select both these modules to be installed.
Click "Yes" on the popup dialog box related to "Unsigned Modules".
For these modules to be correctly installed select to "Restart" netbeans.
"Tools"->"Options"->"Miscellaneous"->"Phobos Options"-> point to the dist directory of your installation, in my case "<pathTo>
Lets say that the application that was created was called "PhobosApplication1".
This file should be opened by the Javascript editor. Now lets place a breakpoint on the line "library.view.render("main.ejs");"
Posted at 11:23AM Nov 09, 2006 by pramodg in Sun | Comments[2]
Posted by Roberto Chinnici's Blog on November 10, 2006 at 03:05 PM PST #
Posted by 151.25.98.175 on February 05, 2007 at 10:09 AM PST #