Closed Bug 1107815 Opened 10 years ago Closed 6 years ago

Setting a breakpoint in a CoffeeScript file causes the debugger to hang

Categories

(DevTools :: Debugger, defect, P5)

34 Branch
x86_64
Linux
defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: zw963, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36 Steps to reproduce: add a breakpoint in one coffee script source file when I development a web app with Ember in linux 64 bit version Firefox. Actual results: source panel scroll bar flashing when I move mouse point, and waiting a second, entiry Firefox is lose response, seem to in one deep loop, if see linux top command output, firefox CPU very high (100+) Expected results: not lose response.
Severity: normal → critical
Component: Untriaged → Developer Tools: Debugger
Priority: -- → P5
What version of Firefox is this, and can you provide a small test page that demonstrates the problem? We have some coffeescript tests in automation that are working, so we need more information to figure out what is wrong in your case.
Firefox is lastest version: 34.0.5, Slackware 14.1, Linux 64 bit. Desktop: Mate 1.8.1 I have print a snapshot, https://github.com/zw963/image/blob/master/snapshot1.png after I add breakpoint, and move my point LEFT or RIGHT, (I can not describe this accurately, But it happen there when I add a breakpoint, occasionally.), It have great chance to cause left source scroll bar flashing, and then, all firefox lost response. I am not ensure it relative about coffeescript, perhaps it just GUI animation problem.
Can you attach a zip of your test case? Realistically, we are unlikely to solve this bug without a test case so we can reproduce + debug locally.
Flags: needinfo?(zw963)
Hi, Tonight, I spend 10 mintue to reproduced, But it not happen. But, at send bug day, on afternoon, it happen three times. Then, I thought I disable one extension after FF last crack, so I re-enable it, It happen again. just add breakpoint quickly, it will reproduce dozens click. test project: https://github.com/zw963/ember_todo extension: Firemacs 4.5
Flags: needinfo?(zw963)
I want report another bugs here. sometimes, When mouse point hover on a src attribute in development tool, it not show the image previw. Seem like it just show picture when I first refresh page, and after some other operation, this function is not worked any more.
Continue to last problem. image seem like just hide by development tool, sometimes, show the picture in a flash.
That's a different bug, please file it separately. Is this about image previews in the inspector or network monitor?
@Panos Astithas: inspector, it not always valid when development. this affect a lot. I have to copy url to clipboard, and reopen this url in a new tab.
Summary: When add a coffeescript breakpoint in develop tools, sometimes, will cause dead loop. (after flashing in left source panel scorll bar) → Setting a breakpoint in a CoffeeScript file causes the debugger to hang
No longer blocks: dbg-sourcemap
I have a reproducible testcase in bug 1167725, which I believe is very similar to this one.
See Also: → 1167725
Product: Firefox → DevTools

Could not reproduce in new debugger.

Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.