same keyboard shortcut (⌘;) is used for two functions: "step in" and "go to line"
Categories
(DevTools :: Debugger, defect, P3)
Tracking
(firefox69 fixed)
Tracking | Status | |
---|---|---|
firefox69 | --- | fixed |
People
(Reporter: glob, Assigned: chujunlu)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Comment 1•6 years ago
|
||
Hi, I'm interested in working on it. Can I give it a try?
Comment 3•6 years ago
|
||
I'd love for you to look at it Chujun! :)
The current “go to line” shortcut CmdOrCtrl+;
conflicts with the “step in” shortcut. It is
replaced to use the same as Chrome debugger and Sublime Text's shortcut: Ctrl+G
. Upper or lower cases don’t matter.
- Current behavior:
1a) With no file open in editor:
HittingCmd+;
orCmd+Shift+;
opens the “go to line” search bar.
1b) With a file open in editor, but not pausing in debugger:
Hitting Cmd+;
or Cmd+Shift+;
opens the “go to line” search bar.
1c) Pause in debugger:
Hitting Cmd+;
runs step in
and also opens the “go to line” search bar;
Hitting Cmd+Shift+;
runs step over
and also opens the “go to line” search bar;
-
Code changes:
2a) Create gotoLineModal.key3.
2b) Update localization note.
2b) Update snapshot test. -
With code changes, in both Mozilla Central Firefox build and Debugger launchpad
3a) With no file open in editor:
HittingCtrl+G
opens the “go to line” search bar. No sure if this is ideal.
3b) With a file open, but not pausing in debugger:
Hitting Ctrl+G
opens the “go to line” search bar; hitting Ctrl+G
again or escape
closes the bar.
3c) Pause in debugger:
Hitting Cmd+;
or Cmd+Shift+;
doesn’t open the “go to line” search bar.
Hitting Ctrl+G
opens the “go to line” search bar.
Type in a valid number, hit enter. The editor window goes to the destination line.
If you don’t type anything, hit escape
, or hit Ctrl+G
again, the “go to line” search bar closes.
Updated•6 years ago
|
Updated•6 years ago
|
Comment 7•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Description
•