Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Trace/Debug not working

$
0
0

I am not seeing traces in the xsengine trace log; nor am I able to effectively set breakpoints in the Web Editor and stop page processing. I'll start by defining roles and configuration, describing actions that aren't working, and then finish with 2 questions.

 

ROLES AND CONFIGURATION

 

According to the developer guide, the following configuration and roles need to be in place for tracing and debugging to work. This is our current role state:

  • User assigned Debugger role
  • To change Trace level, user assigned TraceAdmin role
  • User assigned TraceViewer role, child role of Developer

 

To view tracing, confirm the following configuration. This is our current config state.:

  • In the xsengine.ini file, the debugger > enabled node is set to true
  • In the xsengine.ini file, the httpserver > developer_mode node is set to true

 

ACTIONS

To start tracing, set the Trace level for your package, e.g., debug. Include a trace call in the code, e.g., $.trace.debug("testing debug trace"). In the Web Editor, run the xsjs file, and in the resulting browser window, click the Call Backend button. Here is where my issues begin: there is no Call Backend button, in any browser version.

 

To start debugging, set breakpoints in the Web Editor by clicking the line number. A breakpoint is indicated by a red arrow on the line number. Then run the page. The page should stop processing at that point. (You can also set breakpoints in Hana Studio by running in Debug perspective, and setting a debug configuration. I tried this also, but was unable to create a desired configuration for port 443; this is a separate issue, outside the scope of this discussion.)

 

QUESTIONS

  • What am I missing in setting up tracing?
  • What am I missing in setting up debugging?

 

Thanks in advance for any guidance.

 

Bill


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>