Changes between Version 4 and Version 5 of HowToDebug


Ignore:
Timestamp:
Nov 7, 2013, 8:51:41 AM (11 years ago)
Author:
ticheler
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowToDebug

    v4 v5  
    44
    55The easiest way to debug Java code is to add some logging statements
    6 to the code.  (Sigh.)
     6to the code.
    77
    88== Debugging XSLT scripts ==
    99
    10 Much of GN's functionality is implemented through XSLT scripts
     10Much of !GeoNetwork's functionality is implemented through XSLT scripts
    1111that are applied to the XML output of some Java code.
    1212It is possible to see that XML output and run an XSLT script
     
    1414The best way to do this is to enable Jeeves debugging.
    1515In `web/geonetwork/WEB-INF/config.xml`, in the `<general>`
    16 section, set `<debug>true</debug>` and restart GN.  Then
     16section, set `<debug>true</debug>` and restart !GeoNetwork.  Then
    1717you can add an exclamation mark (`!`) to the end of the
    1818name of a service to view the intermediate XML.
    19 For example, if you bring up the GN home page in your
     19For example, if you bring up the !GeoNetwork home page in your
    2020browser, the URL will end in `...main.home`.  Edit the
    2121URL to `...main.home!` and press Enter.  The intermediate
     
    4747   * Microsoft Script Editor, which comes with Office, provides a full !JavaScript debugger like the one in Firebug.
    4848     This tool takes up a lot of screen real estate; it's much easier to use if you have a second display.
    49