Loading TOC...
Messages and Codes Reference Guide (PDF)

MarkLogic 9 Product Documentation
Messages and Codes Reference Guide
— Chapter 5

DBG Messages

DBG-ATTACHED

Message Text

Request already attached: variable1

Cause

An attempt was made to attach a request which had already been attached.

Response

Retry the operation after the request has been detached.

DBG-CONNECTED

Message Text

Server already connected for debugging: variable1

Cause

An attempt was made to connect to the server for debugging when the server was already being debugged.

Response

Retry the operation after the server is disconnected for debugging.

DBG-DEBUGALLOW

Message Text

Debugging not enabled on server

Cause

Debugging is not enabled on the app server.

Response

To attach the debugger to an app server request, you need to set the debug allow option to true on that app server.

DBG-DEBUGTASKS

Message Text

Task Server exceeded maximum number of debug tasks: variable1

Cause

All the threads allocated for debugging on Task Server are currently in use.

Response

You can wait for the current request to finish and try again. You can also detach the existing requests stopped for debugging using dbg:detach. Another option is to increase the number of allocated threads for debugging by changing the debug threads option on the task server. This will cause a server restart and changes will only become effective after the restart.

DBG-DISCONNECTED

Message Text

Server not connected for debugging: variable1

Cause

An attempt was made to disconnect to the server for debugging when it was not connected.

Response

Ignore the error if the intended outcome is to disconnect from the server for debugging.

DBG-EVALERROR

Message Text

No return value. Evaluation encountered an error.

DBG-EXPRDNE

Message Text

Expression not found: variable1

Cause

No expression is found matching the request id and expression id passed to dbg:expr.

Response

Make sure that the request id and expression id passed to dbg:expr are correct.

DBG-EXPREND

Message Text

Debugger not stopped at end of an expression

DBG-EXPRONLY

Message Text

dbg:value only accepts simple expressions

DBG-FUNCTIONDNE

Message Text

Function not found: variable1

Cause

This error no longer exists in the code.

Response

see above.

DBG-LINE

Message Text

Line number greater than lines in module

DBG-MODULEDNE

Message Text

Module not found: variable1

Cause

No module is found at the module URI specified in dbg:line call.

Response

Make sure that the module URI points to a valid module.

DBG-MULTISTMT

Message Text

Cannot evaluate multi-statment request

DBG-NOBREAKPOINT

Message Text

No breakpoint at expression: variable1

Cause

An attempt was made to clear a non-existent breakpoint.

Response

Check the request and expression ids specified for the clear call.

DBG-NODEBUGGER

Message Text

Request not being debugged: variable1

DBG-NOTSTOPPED

Message Text

Request not stopped: variable1

Cause

An attempt was made to set a breakpoint for a request that had not been stopped.

Response

Make sure to stop the request before setting the breakpoint.

DBG-REQUESTRECORD

Message Text

Request record not found: variable1

DBG-SAMESTMT

Message Text

Cannot evaluate same-statement isolation for debugging

DBG-SELFATTACH

Message Text

A request may not attach to itself for debugging: variable1

DBG-TASKDEBUGALLOW

Message Text

Debugging not enabled task server

Cause

debug allow option on task server is set to false.

Response

Set the debug allow option on task server to true and try again.

« Previous chapter
Next chapter »