the problem when i debug cefclient

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

the problem when i debug cefclient

Postby badhot » Tue Jan 21, 2014 4:46 am

hi,
i downloaded cef_binary_3.1650.1562_windows32.7z and cef_binary_3.1650.1562_windows32_VS2010_debug_symbols.7z,then i built cefclient and put libcef.dll.pdb into the debug directory.Everything is OK.

when I debug,i put a breakpoint in the line of
"void ClientHandler::ShowDevTools(CefRefPtr<CefBrowser> browser) {
std::string devtools_url = browser->GetHost()->GetDevToolsURL(true);
if (!devtools_url.empty()) {
if (m_bExternalDevTools) {"

i click the right button of mouse on the cefcliet,selected "show devtools " menu,then vs2010 break in the function of showdevtools,then from the call stack,i clicked an item of call stack,but i don't find the file 'context_menu_handler_ctocpp.cc',see the attachment pic,i searched,also not. where is the file 'context_menu_handler_ctocpp.cc'.

Final,if i want to debug the 'view source' menu,where should i put the breakpoint?

thanks advance.
Attachments
v.jpg
v.jpg (68.24 KiB) Viewed 2852 times
badhot
Newbie
 
Posts: 1
Joined: Tue Jan 21, 2014 3:18 am

Re: the problem when i debug cefclient

Postby magreenblatt » Tue Jan 21, 2014 9:10 am

To debug into libcef you need to download the CEF and Chromium source code. See the BranchesAndBuilding wiki page.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 193 guests