<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hello Frank,<br>
      <br>
      Could you please tell me what MarkLogic Server version are you
      using? Also what xqmvc build? I want to test it myself and see
      what happens. It would help if you have any XQuery sample files
      that I could test with this framework.<br>
      <br>
      You are trying to do a remote HTTP debugging session, right?
      Attach from Oxygen and debug an HTTP request that was already
      started probably using the browser?<br>
      <br>
      I see that you've already studied in depth our resources about how
      to debug in MarkLogic but just in case it might help, the steps
      required for remote HTTP debugging are:<br>
      - create a connection in Oxygen using an XDBC App server that has
      the same module configuration as the HTTP one<br>
      - put the HTTP server in debug mode using the Data Source
      Explorer, right click on the HTTP App server and "Enable debug
      mode"<br>
      - return to the browser and initiate the request<br>
      - return to Oxygen and from the "Requests" container of the HTTP
      App server right click on the request and choose "Debug"<br>
      <br>
      After these steps the debugger will be up and running and no
      breakpoints are yet added.&nbsp; Do you get this far? The warning you
      are receiving complains about some breakpoints. Have you set any
      breakpoints? If you have, are they in the main module or in a
      library module? And if they are in a library module how was this
      library module opened? From the Data Source Explorer?<br>
      <br>
      I've tested the previous procedure on the Shakespeare Demo [1]
      application.<br>
      <br>
      Thank you for taking the time to help us shed some light on this
      situation.<br>
      <br>
      PS: A transformation scenario is used to transform/execute an
      XQuery file. A validation scenario is used to configure what
      engine should be used to validate an XQuery file (for example
      while you work on it - automatic validation). A validation
      scenario also help when working on library modules because you can
      specify the main module from which the validation can start.<br>
      <br>
      [1] <a class="moz-txt-link-freetext" href="http://developer.marklogic.com/code/bill">http://developer.marklogic.com/code/bill</a>
      <pre class="moz-signature" cols="72">Best regards,
Alex
-- 
Alex Jitianu
&lt;oXygen/&gt;  XML Editor, Schema Editor and XSLT Editor/Debugger
<a class="moz-txt-link-freetext" href="http://www.oxygenxml.com">http://www.oxygenxml.com</a> </pre>
      On 1/4/2015 9:15 AM, Frank Mortier wrote:<br>
    </div>
    <blockquote
cite="mid:AMSPR05MB04934600A6E214AE2F48BE7E65B0@AMSPR05MB049.eurprd05.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">Dear all:<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">I acquired Friday Oxygen 16.1 in order to
          debug a Marklogic application. I have encountered the same
          problem as Jacob in
          <a moz-do-not-send="true"
href="http://www.oxygenxml.com/pipermail/oxygen-user/2013-June/004698.html">http://www.oxygenxml.com/pipermail/oxygen-user/2013-June/004698.html</a>.<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">The ML application uses the xqmvc framework
          whereby the main file is index.xqy, but the routing is
          provided by another module xqmvc.xqy, importing controller
          files which import modules.<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">See e.g.: <a moz-do-not-send="true"
            href="http://www.marklogic.com/blog/founders-online-lesson-performance/">
http://www.marklogic.com/blog/founders-online-lesson-performance/</a>
          and <a moz-do-not-send="true"
            href="https://code.google.com/p/xqmvc/">
            https://code.google.com/p/xqmvc/</a><o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">I have been unsuccessfully testing various
          debugging scenarios yesterday, amongst others including all
          xqy files.<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">I was also not able to debug a module in
          the basic framework.<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">Related: what is the difference between
          using a validation scenario or a transformation scenario. I
          notice a difference between the documentation and the demo at
          <a moz-do-not-send="true"
            href="http://www.oxygenxml.com/demo/XQueryDebuggerforMarkLogic.html">http://www.oxygenxml.com/demo/XQueryDebuggerforMarkLogic.html</a><o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">Any suggestions? <o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">Frank<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
oXygen-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a>
<a class="moz-txt-link-freetext" href="http://www.oxygenxml.com/mailman/listinfo/oxygen-user">http://www.oxygenxml.com/mailman/listinfo/oxygen-user</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>