[MarkLogic Dev General] Regarding error message display

David Strickland dstricks at gmail.com
Mon Jan 11 04:57:44 PST 2016

Hi Siva,

With regards to Eclipse integration...

There is an Eclipse plugin named XQuery Development Tools (XQDT)
<https://wiki.eclipse.org/XQuery_Development_Tools> that provides syntax
highlighting, content assist, etc. I believe the plugin is a bit
out-of-date, but there was a MarkLogic effort
<http://developer.marklogic.com/code/xqdt> to create an updated fork (not
sure of the current status). MarkLogic also has some documentation
<https://developer.marklogic.com/learn/xqdt-setup> on setting up XQDT.

I typically use a combination of Eclipse/XQDT, MarkLogic's QConsole
<https://docs.marklogic.com/guide/qconsole/walkthru>, and log messages
<https://docs.marklogic.com/xdmp:log> for development.


On Wed, Jan 6, 2016 at 7:22 AM, Geert Josten <Geert.Josten at marklogic.com>

> Hi Siva,
> I can’t help with the Eclipse IDE integration. Not even sure how well it
> works with latest MarkLogic. I do know that oXygen Enterprise edition
> provides excellent integration with MarkLogic.
> Regarding displaying error messages:
> You could put a try catch inside your spawn-function, and return the error
> xml as result. Pass in the <result>true</result> option to spawn-function
> to make QC waits for errors.
> Another option would be to just monitor the ErrorLog while your code is
> running. You can do that from the Admin UI (Logs tab on the start screen),
> or you could look at this project that provides a Google Chrome plugin:
> http://github-search.demo.marklogic.com/detail/vlad-zapp/MLLogParser.json
> Note: not sure how up to date the MLLogParser project is..
> Kind regards,
> Geert
> From: <general-bounces at developer.marklogic.com> on behalf of "Mani,
> Sivasubramani (ELS)" <s.mani at elsevier.com>
> Reply-To: MarkLogic Developer Discussion <general at developer.marklogic.com>
> Date: Wednesday, January 6, 2016 at 11:50 AM
> To: "general at developer.marklogic.com" <general at developer.marklogic.com>
> Subject: [MarkLogic Dev General] Regarding error message display
> Dear Team,
> Is there any way to display error message in query console during
>  spawn-function running and also kindly guide me how to debug the marklogic
> using eclipse ide.
> Thanks & Regards,
> Siva
> _______________________________________________
> General mailing list
> General at developer.marklogic.com
> Manage your subscription at:
> http://developer.marklogic.com/mailman/listinfo/general
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/general/attachments/20160111/8fccffe9/attachment.html 

More information about the General mailing list