MarkLogic debugger has the following peculiarities and limitations:
- Debugging support is available only 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'.
- The local debugger user interface presents all the debugging steps that the MarkLogic
server executes and the results or possible errors of each step.
- 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 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
- 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.