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

RTC 6.0.5 Java script calculated values how to debug?

 Hello, 

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?

0 votes

Comments

 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

 See https://jazz.net/wiki/bin/view/Main/AttributeCustomization#Debugging_scripts . 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: https://jazz.net/library/article/1093

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 

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
× 10,953

Question asked: Jun 30 '19, 3:57 p.m.

Question was seen: 1,988 times

Last updated: Jul 01 '19, 4:30 a.m.

Confirmation Cancel Confirm