xxfxxf / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
0 stars 0 forks source link

Heap snapshot doesn't work #309

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build and run cefclient from cef_binary_r275_VS2008.zip.
2. Open Developer Tools window and choose Profiles.
3. Click on Take Heap Snapshot button and then select Snapshot 1 item.

What is the expected output? What do you see instead?
The right side of the window is empty.

What version of the product are you using? On what operating system?
cefclient r275
Windows 7 32/64bit, Windows XP 32bit

Original issue reported on code.google.com by yado...@gmail.com on 11 Aug 2011 at 5:56

GoogleCodeExporter commented 9 years ago

Original comment by magreenb...@gmail.com on 12 Aug 2011 at 2:44

GoogleCodeExporter commented 9 years ago
May be this is doesn't related with this issue, but now when developer tools 
starts - i arrive in display handler text status message ERR_NOT_SUPPORTED.

Original comment by fdd...@gmail.com on 12 Aug 2011 at 3:18

GoogleCodeExporter commented 9 years ago
This is still a problem with CEF revision 284.

Original comment by magreenb...@gmail.com on 10 Sep 2011 at 7:49

GoogleCodeExporter commented 9 years ago
Good news - heap snapshot in DevTools are work even in R284! :)
If you run now cefclient and take snapshot - you will got console message:

Message: Uncaught Error: SECURITY_ERR: DOM Exception 18
Source: 
file:///D:/fddima/prj/ChromiumTrunk/src/cef/Release/resources/inspector/DevTools
.js
Line: 46236
-----------------------

This is happens, 'cause devtools started from file scheme.
So, temporary resolution - it is allow file access from files.
(I'm add line in cefclient_win.cpp(370)):
        settings.file_access_from_file_urls_allowed = true;

This is little linked with my 313 issue, 'cause CEF now can't be configured to 
source of devtools packages. Better if we can configure it as we want.

Original comment by fdd...@gmail.com on 11 Sep 2011 at 10:23

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
In other side - it looks as it is do self-snapshotting... so it may be not very 
useful. May be i'm wrong. And it much slower than in chrome, but very 
detailed... Hm. :)

Original comment by fdd...@gmail.com on 11 Sep 2011 at 10:38

GoogleCodeExporter commented 9 years ago
Heap snapshot now works, probably due to revision 295 that moved DevTools to 
the chrome-devtools scheme.

Original comment by magreenb...@gmail.com on 21 Oct 2011 at 2:18