Detailed Debugging Information

Clicking the Jump to debugging information link takes you to the section of the debugging screen that is shown in Figure 1.

Figure 1. The Debugging Information Section of a Sample Debugging Screen

This section of the debugging screen provides access to detailed information about the following aspects of your query and its handling within Watson™ Explorer Engine:

  • Warnings & mesages that occurred when submitting the query, retrieving results, and displaying those results
  • Session debugging information that enables you to walk through every step of preparing your query, submitting it, and retrieving and displaying search results. See Detailed Session Debugging Information for an example and for information about using this screen.
  • Display information including views of the original XML, output HTML, and the Watson Explorer Engine display that was used to display your search results
  • Query information showing how the query is structured in XML
  • Boost information if you have boosted documents configured for this query
  • Refinements information if there are refinements/bins present for this query
  • Sources, fetching, parsing information that enables you to explore the source used for your query, cache data statistics, and how your outgoing request and retrieved data were parsed
  • Variables that were set, modified, and otherwise used when submitting your query and retrieving results.

Only the headings for various portions of the detailed debugging information are initially shown when you visit this portion of the page. Collapsing data and section headings makes it easy for you to locate the section or specific information that you're looking for. To expand any of these sections, click the + symbol in a collapsed header. The header expands to show additional information, and the + symbol is replaced by a - symbol. In order to hide that information again, click the - symbol.

As an example, one of the more commonly used of these sections is the Sources, fetching, parsing section, which provides information about how your query was parsed and the results that were returned. This section is visible, in collapsed form, at the bottom of Figure 1. Figure 2 shows this section of the debug screen with the Sources, fetching, parsing section expanded to the first level.

Figure 2. Expanding the Sources, Fetching, Parsing Debugging Section

To continue with this example, once you have expanded this section, you can click the xml buttons to show the XML associated with a specific portion of processing your query, click the debug fetching links to jump to the Fetching tab to see the parse node in the Debug Sessions (see Detailed Session Debugging Information for general information about the debug sessions section), and so on.

Other portions of the detailed debugging information can be similarly useful when debugging other aspects of the search application(s) that you are creating with Watson Explorer Engine. For example, the Display section enables you to view the settings that you have made for various portions of the display that is being used by your search application. This section also enables you to view the XML that was returned by your query, the output HTML that was finally displayed, and the display that was used to convert the former to the latter.

To see how to view detailed debugging information for the current session, click Detailed Session Debugging Information. For information about the detailed per-result information provided in the debugging screen, click Per-Result Debugging Information.