AlexRee / chromedevtools

Automatically exported from code.google.com/p/chromedevtools
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Breaks on wrong line #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Google Chrome version: 3.0.195.32
SDK + Eclipse Debugger version(s): r270 (HEAD)
OS + version: Ubuntu karmic & WinXP

What steps will reproduce the problem?
http://wiki.webvm.net/wrtc/m5.2-test-steps/ (Test 4)
1. Example page: http://wiki.webvm.net/wrtc/m5.2/
2. Put a break after label 2
3. It breaks two lines after it should have

What is the expected result?

Break on the right line

What happens instead?

Breaks on the wrong line

Please provide any additional information below. If possible, attach a
(reduced) test-case.

http://wiki.webvm.net/wrtc/m5.2-test-steps/ (Test 4)

Original issue reported on code.google.com by kai.hen...@gmail.com on 11 Nov 2009 at 11:27

GoogleCodeExporter commented 9 years ago
Kai,

Due to the way the code is generated by the V8 compiler, some optimizations 
cause some 
statements to be non-breakable.
You will find the same kind of behaviour in the built-in Google Chrome DevTools.

Please feel free to file an issue against V8 if it is necessary for you to be 
able to 
break on similar "reduced" statements.

Original comment by apav...@chromium.org on 11 Nov 2009 at 12:07