Loading TOC...

dbg:status

dbg:status(
   $request-id as xs:unsignedLong*
) as element(dbg:requests)?

Summary

Return the debugging status of given requests.

Parameters
request-id Request id's.

Required Privileges

http://marklogic.com/xdmp/privileges/debug-my-requests or http://marklogic.com/xdmp/privileges/debug-any-requests

Example

  dbg:status(14096214104959794818)
  =>
   <requests xmlns="http://marklogic.com/xdmp/debug">
     <request>
       <request-id>14096214104959794818</request-id>
       <server-id>13141894694259521076</server-id>
       <request-status>stopped</request-status>
       <debugging-status>attached</debugging-status>
       <expr-id>16429173930674134530</expr-id>
       <where-stopped>begin</where-stopped>
     </request>
   </requests>
   

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.