New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 763752 link

Starred by 8 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Some JS source code cannot be shown in DevTools sources panel

Reported by shader.y...@gmail.com, Sep 11 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36

Steps to reproduce the problem:
1. Launch devtools, load test site
2. JS is broken on debugger instruction, JS source code is shown in sources panel
3. Find some symbols such as __ZNK15Lz4Decompressor16DecompressMemoryEPKvPjPvS2_

What is the expected behavior?
The source code for __ZNK15Lz4Decompressor16DecompressMemoryEPKvPjPvS2_ should be shown normally in sources panel

What went wrong?
There is nothing except for yellow line

Did this work before? N/A 

Chrome version: 60.0.3112.90  Channel: n/a
OS Version: OS X 10.12.6
Flash Version: 

Some debugger instructions have been embedded in JS source code.
The test site source code can be downloaded from http://pan.baidu.com/s/1pKOyddx
 
QQ20170911-105623@2x.jpg
348 KB View Download
I have tested some previous versions, on 57.0.2987.133 it works well without this issue.
Labels: Needs-Triage-M61 Needs-Bisect

Comment 3 by hdodda@chromium.org, Sep 13 2017

Cc: hdodda@chromium.org
Labels: Needs-Feedback
Tested the issue on Mac os 10.12.6 using chrome M61 #61.0.3163.79 and tried to download the test site from http://pan.baidu.com/s/1pKOyddx , but observed that software needs to installed and it is in chinese language and unable to continue further.

Attached screencast for reference.

@shader.yang-- Could you please help us with the sample test file /jsfiddle that reproduces the issue and screencast of the test steps for better understanding.

Thanks!
763752.mp4
2.7 MB View Download
@hdodda@chromium.org, actually it is easy, you should select "ordinary download" instead of "high speed download" then you can download the package via browser directly. And extract the tgz package to a folder, enter it and launch a http server to test it.

Hope it is helpful, thanks a lot! 
Actually it is a sample test, to reproduce the issue, we have to use a huge js file, the package includes all necessary files.
Project Member

Comment 6 by sheriffbot@chromium.org, Sep 14 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "hdodda@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Components: -Platform>DevTools Platform>DevTools>JavaScript
Owner: kozyatinskiy@chromium.org
Status: Assigned (was: Unconfirmed)
Cc: jmukthavaram@chromium.org
Labels: Needs-Feedback
shader.yang@,
Thanks for the reply.
As per C#4,tested the issue on mac 10.12.6 using chrome reported version#60.0.3112.90.

Steps:
------
1. Navigated to below URL
 http://pan.baidu.com/s/1pKOyddx

2. Download webgl-2017.1-asm-d.tgz file by clicking on 'download ' button
3. Click on "ordinary download"
4. While downloading observed network error multiple times. After resuming, we are able to download the file successfully.
5. By double clicking the file , we are unable to expand the file
6. Tried with gunzip command,still we are unable to expand the file to proceed further.

Could you please check the same & let us know your observations on the same.If possible could you please us screencast of the issue for further triaging.



@jmukthavaram@chromium.org,

Could you confirm the package size is 97273629 bytes?
And did you use tar zxvf to expand it as tar zxvf webgl-2017.1-asm-d.tgz ?

Thanks!
I reuploaded the package to http://www51.zippyshare.com/v/ifIv0sxl/file.html, maybe it is faster. :)
Dear All,

Is there any update for it? And if is the package helpful?

Thanks!
Owner: kozy@chromium.org
I have this issue, with normal source files, that are compiled from PHP.
Basically i have to reload 5 times my browser to get the source code to show up. And sometimes that source code is old like cached?

This is very problematic to debug using chrome!

Comment 14 by kozy@chromium.org, Oct 19 2017

I successfully downloaded example and file was shown correctly (after some delay, since it contains more then 2 000 000 lines), could you check latest Chrome Canary?
Project Member

Comment 15 by bugdroid1@chromium.org, Oct 20 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/7c02543f61044eacf45eb7d239032b7ed46d6baf

commit 7c02543f61044eacf45eb7d239032b7ed46d6baf
Author: Alexey Kozyatinskiy <kozyatinskiy@chromium.org>
Date: Fri Oct 20 00:21:23 2017

[DevTools] not run WorkspaceDiff on files with more then 1024*1024 lines

R=lushnikov@chromium.org

Bug: chromium:763752
Change-Id: I002ac8a40cc6a21949a51d926c1c22ddd8b23fc0
Reviewed-on: https://chromium-review.googlesource.com/728731
Commit-Queue: Andrey Lushnikov <lushnikov@chromium.org>
Reviewed-by: Andrey Lushnikov <lushnikov@chromium.org>
Cr-Commit-Position: refs/heads/master@{#510261}
[modify] https://crrev.com/7c02543f61044eacf45eb7d239032b7ed46d6baf/third_party/WebKit/Source/devtools/front_end/workspace_diff/WorkspaceDiff.js

Comment 16 by kozy@chromium.org, Oct 20 2017

Status: Fixed (was: Assigned)
With latest CL it should be shown faster. Please check Canary at the end of the week and feel free to reopen this issue if it's still an problem.
shader.yang@,
Tested this issue on Mac 10.12.6 using chrome latest Canary-64.0.3247.0 as per C#4 & C#9.

Response to C#9:
1.File is 92.8MB size & downloaded it 
2.Unzip using below command in terminal
   Tar xvzf webgl-2017.1-asm-d.tgz
3.Change directory to above downloaded folder in terminal
4. Ran "python -m simpleHTTPServer 8000"
5. Launch chrome
6. run " localhost:8000"
7. Open dev tools
8. Observed JS code in 'source' section of dev tools

Please find the attached screencast for reference . Please confirm on the fix & the expected behavior.

Thanks in advance..!

763752-Mac Canary.mp4
5.8 MB View Download
Awesome, thanks a lot!
jmukthavaram@,

I tested it on my chromium (Version 64.0.3252.0 (Developer Build) (64-bit)) with another Unity webgl asm example, the issue is still there, could you help confirm it?

Steps:
1. Launch chromium for Mac (Version 64.0.3252.0 (Developer Build) (64-bit))
2. Untar webgl-asm.tgz (please download it from http://www49.zippyshare.com/v/GhEUlhIk/file.html) and run a http server for it
3. Access the link via chromium address bar
4. Wait for Unity webgl launching then click "Get Text" button as pic 1
5. The script is broken by debugger as pic 2, then click call stack marked with red cycle
6. The issue is shown as pic 3
QQ20171027-183913@2x.jpg
180 KB View Download
QQ20171027-184052@2x.jpg
704 KB View Download
QQ20171027-184108@2x.jpg
480 KB View Download
Also have this issue, related to https://bugs.chromium.org/p/chromium/issues/detail?id=778192#c3 

The file is not loaded or the source tab fetchs a cached version:

See it.. in my share video by google drive: https://drive.google.com/open?id=0B-ux-Mgd87x9bkZnaUVuOHpVdzg

Which makes debugging a pain!
I think this issue should be reopened for deep investigation.
Thanks!
On Version 67.0.3379.0 (Official Build) canary (64-bit), there still is this issue.
QQ20180326-103603@2x.jpg
635 KB View Download
Cc: kozy@chromium.org
 Issue 825688  has been merged into this issue.
Status: Assigned (was: Fixed)
Cc: krajshree@chromium.org sc00335...@techmahindra.com abdulsyed@chromium.org
 Issue 795363  has been merged into this issue.

Sign in to add a comment