Skip to main content
1-Visitor
July 1, 2019
Question

Debugging of Creo Web Browser

  • July 1, 2019
  • 1 reply
  • 6517 views

Hello all,

 

We are trying to access a web-page.
But it is having compatibility issues with Chromium browser. (Attached snip of Chromium browser details)

How to debug embedded chromium browser in Creo 4 as developer tool?


Please comment.

 

Regards,
Pratik Chougule

1 reply

1-Visitor
November 21, 2019

Has anybody found a solution for this problem? I myself also try to debug JavaScript code, so far with no success.

There is a support article saying that you should debug using a standalone browser. For this the article says to set the environment variable CEF_DEBUG_PORT to a port and access this via localhost in the browser.

This approach has so far been unsuccessful for me.

Any ideas how to fix this?

17-Peridot
November 21, 2019

If you have access to a support base, take a look

https://www.ptc.com/en/support/article?n=CS273018

 

In shot

  1. Make sure Chromium browser is chosen as embedded browser type in set windows_browser_type=chromium_browser in config.pro

  1. Set environment variable
set CEF_DEBUG_PORT=9222
  1. Then using another standalone Chrome browser, browse to this address on the same machine:
http://localhost:<port specified in env variable>/
1-Visitor
November 21, 2019

Thanks for the quick reply and help!

 

Unfortunately this approach is not working.

I open the system window in Creo and enter the command (see screenshot). There is no indication that something happens afterwards.

When I open Chrom and try to access localhost:9222 I get a message that localhost has refused the connection (ERR_CONNECTION_REFUSED).

 

Any idea why this happens?