|Re: Debugging using crossfire [message #813708 is a reply to message #812564]
||Mon, 05 March 2012 16:22
| John Brinnand
Registered: March 2012
Once the connection to crossfire has been made, open the file (js, html) that is loaded into firefox, and set your breakpoints. To kickstart the whole thing, refresh your browser and after a small pause, context will switch to eclipse and you can step through your code in eclipse.
Of course this means that you have firefox with the latest firebug version and the latest crossfire version. (Sadly - I cannot add the links because of a forum rule about posting 25 msgs prior to adding links). Note that once installed you won't see the crossfire icon because it's cleverly hidden in the add-on bar at the bottom of the firefox. To open the add-on bar, go to View->Toolbars->Add-On Bar (see attached image firefox-open-addon-bar.png). Turn it on if it is not already on. The crossfire icon should appear in your add on bar (see attached image crossfire-icon.png). Clicking on this icon will open a dialog asking you to start the crossfire server. To validate the crossfire is running, open firebug (if you haven't already) and click on the Remote tab and you should see the crossfire icon with a message stating that it accepts connections(see attached crossfire-start-server.png image)
I hope this helps anyone trying to get this started.
Powered by FUDForum
. Page generated in 0.02551 seconds