[MarkLogic Dev General] Regarding error message display

Dave Cassel Dave.Cassel at marklogic.com
Mon Jan 18 09:48:55 PST 2016


You can unsubscribe at http://developer.marklogic.com/mailman/listinfo/general.

--
Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel>
Technical Community Manager
MarkLogic Corporation<http://www.marklogic.com/>
http://developer.marklogic.com/


From: <general-bounces at developer.marklogic.com<mailto:general-bounces at developer.marklogic.com>> on behalf of Quang Minh To <minhtq90 at gmail.com<mailto:minhtq90 at gmail.com>>
Reply-To: MarkLogic Developer Discussion <general at developer.marklogic.com<mailto:general at developer.marklogic.com>>
Date: Friday, January 15, 2016 at 7:10 PM
To: MarkLogic Developer Discussion <general at developer.marklogic.com<mailto:general at developer.marklogic.com>>
Subject: Re: [MarkLogic Dev General] Regarding error message display

please don't send email to me.

Many thanks!

On 11 January 2016 at 19:57, David Strickland <dstricks at gmail.com<mailto:dstricks at gmail.com>> wrote:
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.

-David

On Wed, Jan 6, 2016 at 7:22 AM, Geert Josten <Geert.Josten at marklogic.com<mailto:Geert.Josten at marklogic.com>> wrote:
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<mailto:general-bounces at developer.marklogic.com>> on behalf of "Mani, Sivasubramani (ELS)" <s.mani at elsevier.com<mailto:s.mani at elsevier.com>>
Reply-To: MarkLogic Developer Discussion <general at developer.marklogic.com<mailto:general at developer.marklogic.com>>
Date: Wednesday, January 6, 2016 at 11:50 AM
To: "general at developer.marklogic.com<mailto:general at developer.marklogic.com>" <general at developer.marklogic.com<mailto: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<mailto:General at developer.marklogic.com>
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general



_______________________________________________
General mailing list
General at developer.marklogic.com<mailto:General at developer.marklogic.com>
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general




--


..................
Quang Minh.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/general/attachments/20160118/b9334f11/attachment-0001.html 


More information about the General mailing list