WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
83786
Web Inspector: Line number is not displayed while debugging javascript
https://bugs.webkit.org/show_bug.cgi?id=83786
Summary
Web Inspector: Line number is not displayed while debugging javascript
Vivek Galatage
Reported
2012-04-12 08:28:36 PDT
Scenario Steps: 1. Visit to URL:
http://people.w3.org/mike/localstorage.html
( or any URL/Page having javascript in it) 2. Open inspector and in the scripts panel put a breakpoint in function doShowAll() (line. 87) 3. Reload the page so the execution stops at the above breakpoint 4. Use F10 key to move to next line Expected Behavior: While debugging the line number should be visible Actual Behavior: The line number is not visible as seen in the attached image
Attachments
Line Number Missing while Debugging
(56.32 KB, image/png)
2012-04-12 08:29 PDT
,
Vivek Galatage
no flags
Details
Line Number Visible With Enhanced Outlining
(35.93 KB, image/png)
2012-04-12 08:34 PDT
,
Vivek Galatage
no flags
Details
Patch
(4.84 KB, patch)
2012-04-12 08:51 PDT
,
Vivek Galatage
no flags
Details
Formatted Diff
Diff
Patch
(4.61 KB, patch)
2012-04-13 00:07 PDT
,
Vivek Galatage
no flags
Details
Formatted Diff
Diff
Patch
(4.64 KB, patch)
2012-04-13 01:19 PDT
,
Vivek Galatage
no flags
Details
Formatted Diff
Diff
proposal
(65.63 KB, image/png)
2013-06-10 07:14 PDT
,
Roland Takacs
no flags
Details
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Vivek Galatage
Comment 1
2012-04-12 08:29:16 PDT
Created
attachment 136916
[details]
Line Number Missing while Debugging Line Number Missing while Debugging
Vivek Galatage
Comment 2
2012-04-12 08:33:57 PDT
Have made changes in the textViewer.css for enhanced visibility of the line number with minor changes in the Image resources. The enhanced view will be as shown in the attached image.
Vivek Galatage
Comment 3
2012-04-12 08:34:29 PDT
Created
attachment 136917
[details]
Line Number Visible With Enhanced Outlining
Vivek Galatage
Comment 4
2012-04-12 08:51:07 PDT
Created
attachment 136920
[details]
Patch
Pavel Feldman
Comment 5
2012-04-12 13:15:17 PDT
Comment on
attachment 136920
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=136920&action=review
> Source/WebCore/ChangeLog:13 > + * inspector/front-end/Images/breakpointConditionalCounterBorder.png:
Double-checking that you've preserved the image dimensions. You should also make sure your changes play nicely with present border image offsets.
> Source/WebCore/inspector/front-end/textViewer.css:141 > + color: #8E0504;
we typically use rgb() notation for color definitions. Could you please fix it before landing?
Vivek Galatage
Comment 6
2012-04-13 00:07:03 PDT
Created
attachment 137048
[details]
Patch
Vivek Galatage
Comment 7
2012-04-13 00:08:38 PDT
Thank you Pavel for the review comments. I have incorporated your comments and uploaded the new patch.
Pavel Feldman
Comment 8
2012-04-13 00:52:41 PDT
Comment on
attachment 137048
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=137048&action=review
> Source/WebCore/inspector/front-end/textViewer.css:156 > + outline: 1px solid #4073F4;
Looks like these are still in hex.
> Source/WebCore/inspector/front-end/textViewer.css:163 > + outline: 1px solid #4073F4;
Looks like these are still in hex.
Vivek Galatage
Comment 9
2012-04-13 01:02:44 PDT
Sorry missed these ones. Will upload a new patch with the changes.
Vivek Galatage
Comment 10
2012-04-13 01:19:26 PDT
Created
attachment 137058
[details]
Patch
Pavel Feldman
Comment 11
2012-04-13 01:38:21 PDT
Comment on
attachment 137058
[details]
Patch Thanks!
WebKit Review Bot
Comment 12
2012-04-13 03:10:58 PDT
Comment on
attachment 137058
[details]
Patch Clearing flags on attachment: 137058 Committed
r114103
: <
http://trac.webkit.org/changeset/114103
>
WebKit Review Bot
Comment 13
2012-04-13 03:11:04 PDT
All reviewed patches have been landed. Closing bug.
Vivek Galatage
Comment 14
2012-09-20 03:38:32 PDT
Reopening since this was rolled out due to not so pleasing appearance.
Roland Takacs
Comment 15
2013-06-10 07:14:52 PDT
Created
attachment 204162
[details]
proposal The attached image shows different implementations of solution: 1. the original look of debugger in inspector. 2.a the previous patch where line number and selection arrow fit the gray line number bar. 2.b same patch; arrow and line number did not fit the number bar (therefore the patch has been rolled out). proposals: 3. selection arrow eliminated in order to make line number and selection fit the line number bar. This solution is kind of simple, can be implemented quickly. 4. gray line number bar extended horizontally and red dots used for marking breakpoints. Selection arrow would fit with any number in this case. This implementation is much closer to common IDEs (like Code::Blocks or Visual Studio) and seems more demanding, however it needs much more work.
Roland Takacs
Comment 16
2013-06-10 07:16:38 PDT
What do you think?
Csaba Osztrogonác
Comment 17
2014-05-27 04:07:06 PDT
It is a bug for the old inspector UI.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug