Edit online

Peculiarities and Limitations of the MarkLogic Debugger

MarkLogic debugger has the following peculiarities and limitations:

  • Debugging support is only available for MarkLogic server versions 4.0 or newer.
  • For MarkLogic server versions 4.0 or newer, there are three XQuery syntaxes that are supported: '0.9-ml' (inherited from MarkLogic 3.2), '1.0-ml', and '1.0'.
  • All declared variables are presented as strings. The Value column of the Variables view contains the expression from the variable declaration. It can be evaluated by copying the expression with the Copy value action from the contextual menu of the Variables view and pasting it in the XWatch view.
  • There is no support for output to source mapping.
  • There is no support for showing the trace.
  • You can only set breakpoints in imported modules in one of the following cases:
    • When you open the module from the context of the application server involved in the debugging, using the Data Source Explorer view.
    • When the debugger automatically opens the modules in the Editor.
  • No breakpoints are set in modules from the same server that are not involved in the current debugging session.
  • No support for profiling when an XQuery transformation is executed in the debugger.