| Google Chrome | 13.0.782.10 (Official Build 87958) dev |
| OS | Linux |
| WebKit | 535.1 (branches/chromium/782@88129) |
| JavaScript | V8 3.3.10.6 |
| Flash | 10.3 r181 |
| User Agent | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.10 Safari/535.1 |
Hello Tim,I filed a bug on this issue(crbug.com/85029). However, I wasn't able to reproduce it with the following configuration:
I tried setting/removing breakpoints on Google Closure Hovercard example(http://closure-library.googlecode.com/svn/trunk/closure/goog/demos/hovercard.html, file hovercard.js)and they appear/disappear almost immediately after click. Can you try to reproduce theissue with that example and latest dev-channel build?
| Chromium | 13.0.782.1 (Developer Build 0) |
| OS | Linux |
| WebKit | 535.1 (unknown@0) |
| JavaScript | V8 3.4.0.1 |
| Flash | 10.3 r181 |
| User Agent | Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.1 Safari/535.1 |
| Command Line | chromium-browser --extra-plugin-dir=/usr/lib/nsbrowser/plugins --no-startup-window --flag-switches-begin --new-tab-page-4 --flag-switches-end |
| Executable Path | No such file or directory |
Thanks for investigating this! Another thing that we suspect is a bug which caused breakpoints duplication when they were saved into local store. Could you open DevTools for the DevTools window (e.g. using Inspect element context menu item on the DevTools window) and type the following in the console of the second DevTools window:localStorage.breakpointsto see whether it contains one entry per active breakpoint?
On Monday, June 6, 2011 12:23:50 PM UTC+1, Yury Semikhatsky wrote:Thanks for investigating this! Another thing that we suspect is a bug which caused breakpoints duplication when they were saved into local store. Could you open DevTools for the DevTools window (e.g. using Inspect element context menu item on the DevTools window) and type the following in the console of the second DevTools window:localStorage.breakpointsto see whether it contains one entry per active breakpoint?Ladies and Gentlemen - I believe we have a winner !!So, I always thought my breakpoints behaved a little strange, sometimes they'd mysteriously return etcDoing the above causes the devtools of the devtools console to hang...but killing it and opening another, and then examining localStorage.breakpoints.length reports 2,560,663 items in the array !I'm guessing this is ... sub-optimal...
Any suggestions how to clean all these out ? Just set the array to empty, or use the Resources tab to examine and clear localstorage for devtools ?
And anything you'd like me to check / dump / summarise before I do so ??
Cheers--Tim
Sure thing - I'll email you the file.I looked at the other properties of the localStorage object and notice that there are also properties such as "nativeBreakpoints:html://<<some-url>>" - these are mostly much smaller but the locahost:8080 one (I'm doing a lot of Google AppEngine development) is about 10k and again contains duplicates.
I guess I should clear these too, and I'll put them in the same dump file I send you (is there a particular reason why the console doesn't let you select and copy output messages any more?).
Thanks for your help, I'll try to keep an eye on this figure from time to time and see if it grows again.
--Tim
Probably unrelated, but you know the fancy little animation in the dev tools when you press escape to open and close the console part of script view (as the console slides open the buttons slide over and others fade into or out of view)?Well if I press Shift-ESC rather than plain ESC, this animation runs smoothly but slowly - taking about 2 seconds to complete (that's how I noticed what it does).
Other breakpoints(DOM, XHR,..) are also likely to be affected by this bug so you need to clean them as well if you use those kinds of breakpoints.
I guess I should clear these too, and I'll put them in the same dump file I send you (is there a particular reason why the console doesn't let you select and copy output messages any more?).It should be possible to copy the messages in console. I just thought that copying 2.5mln characters directly to the clipboard would be much faster.
Hello,
the following applies to both Chrome 19.0.1084.52 m using the
Developer Tools and Node.js 0.7.6 pre using node-inspector as Debug
Frontend.
I've noticed that setting a breakpoint (in frequently executed code),
no matter if the breakpoint is conditional or not slows down the
execution of javascript significally.
The function i'm trying to debug takes around 2 seconds to execute
without breakpoints.
If i set a breakpoint i stopped waiting for the end of execution (or
actually hitting the breakpoint) after 10 minutes!
Is this a known issue?
I haven't found anything related in the issue tracker.
kind regards
Martin