I read up on Alloy and I'm not using it. I have a subprocess executable.
Is this the correct way to open the dev tools then?
- Code: Select all
CefWindowInfo windowInfo;
CefBrowserSettings browserSettings;
windowInfo.SetAsPopup(nullptr, "DevTools");
windowInfo.windowless_rendering_enabled = false;
windowInfo.shared_texture_enabled = 0;
CefPoint inspectPoint;
CefRefPtr<CefClient> devtoolsClient;
// Show the devtools
mBrowser->GetHost()->ShowDevTools(windowInfo, devtoolsClient, browserSettings, inspectPoint);
I am trying this but it still fails at
- Code: Select all
if (!window) {
logging::SystemErrorCode error = logging::GetLastSystemErrorCode();
base::debug::Alias(&error);
CHECK(false);
}
error comes out to
0