Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RPE: How to receive debug output?

 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?

0 votes



One answer

Permanent link
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");

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019

Question asked: Jan 22 '20, 2:22 a.m.

Question was seen: 2,405 times

Last updated: Jan 22 '20, 8:36 a.m.

Confirmation Cancel Confirm