Flag that says whether something is using the dev tools

Think CEF could benefit from a new feature or capability? Discuss CEF feature requests here.

Flag that says whether something is using the dev tools

Postby DennisKehrig » Mon Nov 26, 2012 2:45 pm

We want Brackets to automatically open Developer Tools when an uncaught exception is thrown. Since only one client can access the dev tools at a time, it would be useful to know whether the dev tools are already in use. Then we would only open the developer tools if no client has connected to them yet. I did not find an API for that, so I'm posting this here as a feature request.

What do you guys think?
DennisKehrig
Newbie
 
Posts: 1
Joined: Mon Nov 26, 2012 2:39 pm

Re: Flag that says whether something is using the dev tools

Postby fddima » Mon Nov 26, 2012 5:59 pm

Hm. While anybody can't open devtools without interact with your's program - you can implement this flag inside your application forself.
fddima
Master
 
Posts: 788
Joined: Tue Dec 07, 2010 6:10 am

Re: Flag that says whether something is using the dev tools

Postby Czarek » Mon Nov 26, 2012 6:09 pm

In Revision 890 there was added "devtools_agent_count_" member to CefContentRendererClient, it was needed for v8 unittest to know whether there is an opened DevTools window as they modify the way stack trace for uncaught exceptions is handled. devtools_agent_count_ == 0 means that there are no DevTool windows opened.
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am


Return to Feature Request Forum

Who is online

Users browsing this forum: No registered users and 25 guests