debugging a CEF browser instance

jonathandlynch at gmail.com jonathandlynch at gmail.com
Wed Jul 5 13:40:02 CEST 2017


Hi Bernard,

I work with JS in the browser widget quite a bit.

I have just gotten used to testing JS commands very carefully, step by step, because it does not really provide any debugging information.

It would be nice to have that.

Sent from my iPhone

> On Jul 5, 2017, at 7:34 AM, Bernard Devlin via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> 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
>> 
>> 
>> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list