-
Notifications
You must be signed in to change notification settings - Fork 310
Incorrect line numbers of the source files. #1319
Comments
Can you provide a sample project to reproduce the issue? Thanks, |
Hi Dan,
Then edit the
The log statements match the line number in the running the app will show the following Inspecting the source code shows the following Please note that the line number showed next to the statement is correct, however, if you set a breakpoint next to line 26, for example, it is in fact at line 29 where lines 26,27,28 are executed before hitting the breakpoint. You may also notice how the line numbers on the side of the source files are active and inactive according to a shifted basis. |
Can you try, add lines in file package.json
|
I'm also seeing the same behaviour as @amreladawy |
This is fixed in the Thanks, |
Here is the change |
Hi Dan, I still see this issue again on my current project event after updating to latest app-scripts. It is not happening when starting a new project. |
Hi Dan, |
same here with ionic 3.19.1 |
Also seeing with ionic 3.9.2 |
No success after updating to the latest version: |
Using action script 3.1.8 This issue still persists. Why is this issue closed? |
same issue here. There is any help ? |
Hi! 1. Imports are defined in one line! Example:Do:
Avoid:
2. @IonicPage decorator is defined in one line:Do:
Avoid:
Why? I don´t know, but worked for me! :D |
@pcsantana I guess I'm disabling "max-line-length" in tslint then if this works! |
I'm experiencing this on 3.2.0. Is there any fix for this apart from moving imports and decorators onto one line? |
Same issue in |
Short description of the problem:
Some of the components are mapped to wrong line numbers. That is making dubbing on chrome very difficult.
Some of the classes are correctly mapped to original line numbers, some are not. There is always a shift but in a variable number of lines.
What behavior are you expecting?
The source mapped files should match the original *.ts files.
Which @ionic/app-scripts version are you using?
@ionic/cli-utils
:1.18.0
ionic (Ionic CLI)
:3.18.0
global packages:
local packages:
System:
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
There was a reported issue on angular that is closed.
angular/angular-cli#2811
The text was updated successfully, but these errors were encountered: