New issue
Advanced search Search tips

Issue 726222 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Jun 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

Typescript debugging doesn't allow breakpoints on certain lines

Reported by fyn...@gmail.com, May 25 2017

Issue description

Chrome Version       : 58.0.3029.110
OS Version: 10.0

What is the expected result?

I expect to be able to put a breakpoint on all "reasonable" lines of typescript code.

What happens instead of that?
Many lines will not allow breakpoints

UserAgentString: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36



 
Components: Platform>DevTools
Labels: Needs-Feedback
Tested this issue using latest Chrome version #58.0.3029.110 on Win 0. Unable to reproduce the issue. Could you please find the attached screen cast and let me know if I had missed any steps.

If possible please attach a expected Screen cast, that would expedite our triaging process.

Thanks, 
May 29 2017 2-48 AM.webm
3.2 MB View Download
Status: WontFix (was: Unconfirmed)
Reasonable lines would be defined by the quality of the actual source map.

Comment 4 by fyn...@gmail.com, Jun 5 2017

"Reasonable lines would be defined by the quality of the actual source map."

Both Firefox and IE11 do a better job of allowing breakpoints to be set than Chrome with the exact same .js, .ts, and .js.map files.  I thought since Google's Angular project is in Typescript that I would get first-class support for Typescript.  The source map is coming from the Typescript compiler.  Whose Typescript compiler should I be using then to get Chrome to be able to set breakpoints  basically anywhere like Firefox and IE11 can?  Right now, in my experience, it is like swiss cheese with holes all over the place where you are not allowed to select a breakpoint.  You select one line and then the developer tools selects a different line to place the breakpoint.  I don't understand how you guys would find this acceptable.  It would be one thing if the other browsers did just as poor of a job at this, but they both are significantly better.  That is ok with you guys?

Comment 6 by fyn...@gmail.com, Jun 5 2017

The above video shows what I am talking about while running the latest version of Chrome.

Sign in to add a comment