Using the main window

Using the main window

qxsldbg provides a text view of the current file being debugged,as seen in the image below

Working with the main window

There are four coloured markers that are can show up on the start of a line of text

  • A red mark: Indicating an active breakpoint

  • A yellow mark: Indicating a disabled breakpoint

  • A green mark: Indicating the current location the the debugger is up to

  • A black mark: Indicating the location of the text "cursor"

You can set/disable/delete a breakpoint at the start of a XML node using the left mouse button.

You can move the cursor arround the text using the
Arrow keys: left, right, up, down
Page keys: page up, page down

Working with xsldbg output

Most of the output from xsldbg is captured and presented either in the inspectors dialog or the xsldbg output window. The exceptions to this rule are

  • An error message that comes from xsldbg is displayed inside a message dialog.

  • The result of evaluating an expression is displayed in a message dialog

  • The output of search is sent to the file indicated in the xsldbg output window

Working with the tool bars

Table 3.1. Tool bar icons and thier meaning

Configure application see: the section called “Configure the files, options and parameters to use”
Restart execution applying current configuration
Continue execution stoping at next breakpoint. This will cause the debugger to stop at the start of the stylesheet if no further breakpoints are found
Step to the next XSLT instruction found.
Proceed to the next instruction at the same call stack depth. This is useful for stepping over a xsl:appply-templates or xsl:call-template
Proceed to the next instruction in a cooler stack frame. This is best used within a template at a greater depth than the root match template
Proceed to the next instruction in a warmer stack frame.
Add a breakpoint at the current cursor location
Enable or disable a breakpoint at the current cursor location
Delete a breakpoint at the current cursor location
Cause the current XSLT source file to be shown
Cause the current XML data file to be shown
Cause the current Output file to be shown
Cause the displayed file to be reloaded from disk

KDE Logo