It's all about the answers!

Ask a question

RTC 6.0.5 Java script calculated values how to debug?

Rafael Rodriguez Montes (23012104192) | asked Jun 30 '19, 3:57 p.m.


I'm trying to print out the error codes of the java script, I tried to watch the console and it prints the console.logs, but when it crahses it just don't do anything, I would like to see if there is any way to print out the error or why is crashing, there is nothing on the browser in the console where I can see the error. 
is there another place for the logs or do I need to enable something for debugging the java scripts hooked to the attributes?

Rafael Rodriguez Montes commented Jun 30 '19, 7:25 p.m.

 I wanted mention that I tried to catch the errors using typical catch and visualize them on the consol.log, but I can't find them. 

I'm using chrome as browser. 

One answer

permanent link
Ralph Schoon (60.9k33643) | answered Jul 01 '19, 2:47 a.m.
edited Jul 01 '19, 4:30 a.m.

 See . Chrome and its built in development tools and debugger works best for me.

I also added a bit of information in the last 2 labs here:

When using Websphere Liberty Profile the location of the server .log file that contains console.log() information and crash info for scripts is in installDir\server\liberty\servers\clm\workarea\org.eclipse.osgi\90\data\temp\default_node\SMF_WebContainer\ccm\ccm\eclipse\workspace\.metadata 

Your answer

Register or to post your answer.