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!
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.
JSRTTIExtension demo
- salvadordf
- Posts: 4580
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: JSRTTIExtension demo
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
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
-
- Posts: 18
- Joined: Sun Jul 18, 2021 9:56 pm
Re: JSRTTIExtension demo
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.
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.
- salvadordf
- Posts: 4580
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: JSRTTIExtension demo
There's no need to apologize. 
