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: 
<[email protected]<mailto:[email protected]>>
 on behalf of Quang Minh To <[email protected]<mailto:[email protected]>>
Reply-To: MarkLogic Developer Discussion 
<[email protected]<mailto:[email protected]>>
Date: Friday, January 15, 2016 at 7:10 PM
To: MarkLogic Developer Discussion 
<[email protected]<mailto:[email protected]>>
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 
<[email protected]<mailto:[email protected]>> 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 
<[email protected]<mailto:[email protected]>> 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: 
<[email protected]<mailto:[email protected]>>
 on behalf of "Mani, Sivasubramani (ELS)" 
<[email protected]<mailto:[email protected]>>
Reply-To: MarkLogic Developer Discussion 
<[email protected]<mailto:[email protected]>>
Date: Wednesday, January 6, 2016 at 11:50 AM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
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
[email protected]<mailto:[email protected]>
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general



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




--


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

_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to