Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

JSRTTIExtension demo

Post Reply
wbdeveloper
Posts: 18
Joined: Sun Jul 18, 2021 9:56 pm

JSRTTIExtension demo

Post by wbdeveloper »

Hi, I'm trying to use the JSRTTIExtension demo

but unfortunately GlobalCEFApp_OnWebKitInitialized is never called, is there any
any extra settings to work correctly?

Any help is appreciated thanks!
User avatar
salvadordf
Posts: 4580
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: JSRTTIExtension demo

Post by salvadordf »

Hi,

I just tested that demo again and it works fine.

Run it and right-click on the web page. Then select the "Set mouseover event" context menu option and move the mouse pointer over some elements in the page.

You will see the path to the HTML element under the mouse pointer in the status bar.

The GlobalCEFApp.OnWebKitInitialized event is executed in the Render process only. By default Delphi will debug the main browser process and that's why the breakpoints inside that event don't work.

Read this for more information :
https://www.briskbard.com/index.php?lang=en&pageid=cef#debugging
wbdeveloper
Posts: 18
Joined: Sun Jul 18, 2021 9:56 pm

Re: JSRTTIExtension demo

Post by wbdeveloper »

I apologize to you a million, actually I was trying to debug and was unable to find out that
I needed to change to GlobalCEFApp.SingleProcess := True to find the error and it was actually my coding error, again sorry to bother with this, have a wonderful day.
User avatar
salvadordf
Posts: 4580
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: JSRTTIExtension demo

Post by salvadordf »

There's no need to apologize. :)
Post Reply