Closed GoogleCodeExporter closed 9 years ago
Do breakpoints work in the Chromium test_shell application?
Original comment by magreenb...@gmail.com
on 23 Mar 2011 at 3:04
Is there any other way of getting the Chromium test_shell application without
downloading and building the entire Chromium source?
Original comment by rwstoneb...@gmail.com
on 23 Mar 2011 at 3:33
You can download the lastest build snapshots here:
http://build.chromium.org/f/chromium/snapshots/chromium-rel-xp/
Original comment by magreenb...@gmail.com
on 23 Mar 2011 at 3:38
[deleted comment]
[deleted comment]
an additional note: I can see the breakpoint "try" to get hit in CEF. The blue
breakpoint has a red arrow go over it for a split second, but it doesn't
actually pause anything.
Original comment by rwstoneb...@gmail.com
on 24 Mar 2011 at 7:06
The Chromium developer's page has build instructions:
http://dev.chromium.org/developers
The "test_shell" target is part of the chrome.sln solution.
Original comment by magreenb...@gmail.com
on 24 Mar 2011 at 7:13
I try building the test_shell project in the chrome solution and I get a bunch
of errors (from syntax errors to "a tool returned an error code"
errors...Unfortunately I don't have the time or resources to throw at trying
this out in the test_shell application right now.
Is there any other way of debugging this issue?
Another interesting thing to note is that the "Pause" button in the debugger
tools (in CEF) just says "Pausing" after I press it, but never actually pausing
anything.
Original comment by rwstoneb...@gmail.com
on 25 Mar 2011 at 4:37
The code in question lives within CEF's browser_devtools_* files. The easiest
way to understand what isn't working is usually to compare against something
that is working correctly (in debug mode). If it isn't working in test_shell
then you can potentially punt the issue by filing a bug with the Chromium
developers. If you can't build the test_shell application then you probably
won't succeed in building the Chromium application either. So your remaining
option is to read the code, run the debugger with CEF and hope you can figure
it out without having a working (debuggable) basis of comparison.
Original comment by magreenb...@gmail.com
on 25 Mar 2011 at 4:47
now that you mention brower_devtools...in my debug.log file, it has an error
message:
[0325/130347:ERROR:browser_devtools_client.cc(63)] NOT IMPLEMENTED
Original comment by rwstoneb...@gmail.com
on 25 Mar 2011 at 5:05
It appears that WebKit inspector breakpoints work in debug builds but not
release builds. I executed the following test using a debug build at revision
209:
1. Load the "XMLHttpRequest" test.
2. Launch the inspector and set a breakpoint in the execXMLHttpRequest()
JavaScript function.
3. Click the button.
4. The breakpoint is hit and you can step through the code.
The release build of revision 181 failed to stop at the breakpoint as you
describe, and the debug build of revision 181 stopped at the breakpoint and
then crashed.
Original comment by magreenb...@gmail.com
on 25 Mar 2011 at 5:41
That should say revision 195 instead of 181.
Original comment by magreenb...@gmail.com
on 25 Mar 2011 at 5:42
yes, I am seeing the same behavior with the debug build of 195. Any idea when
an updated Binary Distribution might be due up?
Original comment by rwstoneb...@gmail.com
on 25 Mar 2011 at 5:59
I've verified that inspector breakpoints work in release build at revision 209.
Original comment by magreenb...@gmail.com
on 25 Mar 2011 at 6:49
A binary release at revision 211 is now available.
Original comment by magreenb...@gmail.com
on 25 Mar 2011 at 7:27
You rock, thank you so much for all the help.
Original comment by rwstoneb...@gmail.com
on 25 Mar 2011 at 7:32
Original issue reported on code.google.com by
rwstoneb...@gmail.com
on 23 Mar 2011 at 2:58