- Adding watch items in the watch panel of the "script" section: items should be added at the top where the input box is, not appended to the bottom of the list. (e.g., add two watch expressions. second one should be above the first, but FB 2.0 appends it to bottom)
- Errors in the console have line number and a JS file. Clicking the error should highlight the line in the source. Currently it gets taken to the source page, but the line isn't marked. (Correction: sometimes it is. Sometimes it isn't. Sometimes it blinks and disappears.)
- Sometimes breakpoints in source code are triggered during the loading of the file, rather than during the line's execution. The execution stops at the bottom of the file, despite where the breakpoint is. The file appears in the scripts list, and sometimes it doesn't. This is apparently random, and hugely annoying. Using requirejs if that makes a difference.
- Sometimes when there's an error parsing javascript files, the console shows the file and the line number, but the script tab doesn't load the source, so it takes you to the main html page source instead. Ideally it will show you the file and the line. It feels like it's related to #3.
- Console messages are oddly slow. When the last line of the console is an error, sometimes it takes minutes to appear (whilst apparently doing nothing...). The print buffer of the console seems to get "lazy". This is hugely annoying when there's an error on the last line because you have to wait a long time to see where the error actual is. This might be related to the FB feature where the DOM view lags behind the animation (d3.js); that is, for a 200ms visual animation, firebug might renders the DOM changes for around half a minute. This has been around for a while, but I only noticed the laggy console after FB 2.0.
- Sometimes breakpoints stop in the wrong line. In the script view, I see the breakpoint on line 216, but it's stopping on 211 for it. (both line numbers are green (active) )
- Memory leaks. I have to restart FF / FB periodically because my memory keeps creeping up. I'll investigate whether this is my fault or not, but I never noticed this problem until FB 2.0 / FF 30
- In the scripts tab, sometimes the source file is clipped. E.g., my file is 200 lines, but only say, 43 lines are shown. Sometimes it appears later, sometimes not.
I came here to report on #3 specifically. Attached a screenshot. This happens quite frequently after a page refresh.
In terms of #1: two reasons.
As for #4, the version I'm using 1.12.8 shows me the source file and line. If the browser is failing during parsing, and can tell me the exact line of code, then I should be able to see that line of code in the debugger as well. (that is, the file has been loaded already since the browser *tried* to parse it, so it is in memory somewhere.)
#5 is likely more to do with animation than with d3, in that some print / draw buffers are queuing up or something.
#6 is probably unrelated to 7301. In my case, it's not stopping on phantom breakpoints. It's stopping on breakpoints that exist. The problem is that the breakpoints are getting triggered during parsing rather than execution. This means I have to basically disable the breakpoint, reload the page, add the breakpoint after the file has been parsed (code line numbers are green). Sometimes the code never goes 'green', despite functioning correctly. I can reproduce regularly, but I can't simplify. My project has 50-100 js files being loaded via requirejs. (obviously they'll be compiled for prod).
If you set a breakpoint at line 14, you'll see that it get's marked in green and hit when you reload the page.
To get back to your statement about breakpoints being hit while the code is parsed: So this means you have a breakpoint within a function, which isn't executed yet, though the breakpoint is hit? What do you see inside the Stack side panel then?
Sebastian
--
You received this message because you are subscribed to a topic in the Google Groups "Firebug" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/firebug/J1s4ZApnp-s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to firebug+u...@googlegroups.com.
To post to this group, send email to fir...@googlegroups.com.
Visit this group at http://groups.google.com/group/firebug.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebug/615ffffb-52a4-4dd9-b8c0-fbf5729cd511%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.