debugging a CEF browser instance

Bernard Devlin bdrunrev at gmail.com
Wed Jul 5 07:34:24 EDT 2017


I tried with 9.0 dp7.

Still no luck. The webpage opens and works with both Chrome and Firefox.
But not with the browser widget in either LC 8 or LC 9.  I even tried with
LC8.1.4 on OS X and it fails there too.

I'm surprised no-one else has run into the need to access the debug log,
browser console or browser developer tools.

Regards
Bernard

On Tue, Jul 4, 2017 at 11:33 AM, Bernard Devlin <bdrunrev at gmail.com> wrote:

> After a very long time away from Livecode, I'm trying to get back into it.
>
> On 8.1.4 in the Windows IDE I have a browser instance where a standalone
> web page with some Javascript code is not working.  The same page works if
> I load it into Chrome.
>
> So, I thought there might be a way to display the console of the browser
> instance, but I can't find a "chrome://..." command to do that. The most
> information I can get back from the browser instance is this:
>
> "C:/Program Files (x86)/RunRev/LiveCode Business 8.1.4/LiveCode Business"
> --browser-subprocess-path="C:\Program Files (x86)\RunRev\LiveCode
> Business 8.1.4\Externals\CEF\libbrowser-cefprocess.exe" --no-sandbox
> --lang=en-US --log-file="C:\Program Files (x86)\RunRev\LiveCode Business
> 8.1.4\debug.log" --log-severity=disable --locales-dir-path="C:\Program
> Files (x86)\RunRev\LiveCode Business 8.1.4\Externals\CEF\locales"
>
> So, I created a .cmd file where I launched the livecode .exe, passing in
> different values for
>
> --log-severity=disable
>
> but no alternative parameters in the .cmd file appear to be taken up (i.e.
> it looks like these CEF browser parameters might be hard-coded into the LC
> exe).
>
> I'm thinking there must be a way to debug CEF browser instances, but a
> search through the mail list didn't turn up anything that appeared relevant.
>
> Any suggestions?
>
> Regards
> Bernard
>
>
>



More information about the use-livecode mailing list