Page 1 of 1
JSRTTIExtension demo
Posted: Sat Nov 06, 2021 1:35 pm
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!
Re: JSRTTIExtension demo
Posted: Sat Nov 06, 2021 2:29 pm
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
Re: JSRTTIExtension demo
Posted: Sat Nov 06, 2021 10:11 pm
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.
Re: JSRTTIExtension demo
Posted: Sun Nov 07, 2021 1:09 pm
by salvadordf
There's no need to apologize.
