It's all about the answers!

Ask a question

RPE: How to receive debug output?


Roan van Staveren (153) | asked Jan 22 '20, 2:22 a.m.

 How do I receive any debug output when generating a document?

I get some clarifications about what is happening, but no debug output. 


How can I get debug output whilst generating a document with RPE?

One answer



permanent link
Subramanya Prasad Pilar (4.6k16) | answered Jan 22 '20, 8:36 a.m.
If you are lookign for the output document, that will be available only when the document generation completes.

When RPE debugger reaches an element with breakpoint, the debugger stops. You can inspect the element and the data context in RPE Debug view. The element context gives the element ID, element type, current recursion level and if the condition on the element passed or not. The data context is made of the template variables and the data elements visible at that location.

You can add additional debug statements that will shown in RPE colsole or rpe.log.
In RPE template, you can insert a "JavaScript Code" element. Double click and in the Script expression tab, select the _sessionLogger variable and enter the script. You can generate log entries with one of the following methods:
_sessionLogger.debug(message)
_sessionLogger.info(message)
_sessionLogger.error(message)
_sessionLogger.warn(message)
ex: _sessionLogger.warn("This will be shown in the rpe.log file");

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.