The default bug view has changed. See this FAQ.

Optionally wrap long lines in the debugger

NEW
Unassigned

Status

()

Firefox
Developer Tools: Debugger
P3
normal
2 years ago
24 days ago

People

(Reporter: Peter Kehl, Unassigned)

Tracking

(Blocks: 1 bug)

32 Branch
x86_64
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0
Build ID: 20140923175406

Steps to reproduce:

Debug an .xul or similar in Browser ToolBox (former Browser Debugger). Have lines that are longer than the source code part of the debugger.


Actual results:

The source code is not wrapped, so you have to scroll to the right and back.


Expected results:

Wrap such lines (ideally: dynamically, i.e. wrap at white space only, do not split words). Even better: have an option to turn wrapping on/off.

This would be useful regardless of what source code line length Mozilla or anyone deems a 'standard'. I.e. you could have a line of eighty characters or less, but it wouldn't fit in the source code area, because of e.g. a small screen, a need to see wide stack trace or wide listing of variables/watches etc.
(Reporter)

Updated

2 years ago
Component: Untriaged → Developer Tools
Component: Developer Tools → Developer Tools: Debugger
I agree this would be useful to have, especially since we want to evolve the debugger towards become more editor like in the future.
Blocks: 1074592
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Browser ToolBox (Debugger) should [have an option to] wrap long lines → Optionally wrap long lines in the debugger

Comment 2

a year ago
Easy horizontal scrolling with <shift>+mousewheel like proposed in Bug 1263105 would really help here.

Updated

24 days ago
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.