happy Friday... here's yer debugger
Category xpages
Medusa 0.7 has been released. The release package includes detailed installation instructions. Here's a brief list of features the plugin contains:
If you develop with XPages, you need this. That's why we wrote Medusa, and now we release her into the wild to see what she will become.
Medusa 0.7 has been released. The release package includes detailed installation instructions. Here's a brief list of features the plugin contains:
- Server-side DOM Tree: similar to the HTML inspection of the base Firebug plugin, Medusa allows you to navigate the structure of the XPage as it exists in memory on the server. Clicking any node in the tree displays a ridiculous amount of property information for the corresponding control; if the control has an equivalent client-side HTML element, and that element can be located on the page, Medusa will highlight that element in the page.
- Log Console: gone are the days of having to settle for print() and _dump() to send debugging information to the server console / log. Medusa includes a method for collecting error reports and purely informational debug statements for the active page... so the debug data you're viewing is not only limited to your session, it's specific to the page you're viewing. Say goodbye to filling up the server log with stack traces and fighting with coworkers over whose debug statements are whose.
- Command Line: issue SSJS or EL commands within Firebug to be executed in the context of the open page. And not just the context of the page... if you've selected a control node in the DOM tree, the command will be executed in the scope of that control. For example, if you have a label with a "value" attribute (display text) of "First Name:", select that label in Medusa's DOM panel, and execute the following SSJS:
this.setValue("Given Name:");
When you click "Send", Medusa will execute the command, trigger a partial refresh specific to that control, and you'll see the label's display text change. Just as the core Firebug feature set allows you to tweak the client-side rendering of a web page to determine what your server-side code should be, Medusa's command line actually allows you to tweak the server-side page structure until it looks/behaves the way you want, drastically reducing development time.
If you develop with XPages, you need this. That's why we wrote Medusa, and now we release her into the wild to see what she will become.

Comments
Posted by Rob McDonagh At 07:02:09 PM On 02/26/2010 | - Website - |
Posted by Tommy Valand At 07:54:15 PM On 02/26/2010 | - Website - |
Rob, he'd have to give himself one as well: he wrote the majority of the server-side code... though I'm willing to admit that the Firebug stuff was all me.
Posted by Tim Tripcony At 10:35:12 PM On 02/26/2010 | - Website - |
Best. IDE. Evar.
Posted by Nathan T. Freeman At 11:40:56 PM On 02/26/2010 | - Website - |
Thanks for the cool tool guys. Now get to work on the next one.
Posted by Dan Sickles At 12:51:44 AM On 02/27/2010 | - Website - |
Posted by Darry At 04:58:37 AM On 06/07/2010 | - Website - |