Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

[Stepping] Debugger occasionally switches to line with large number #5069

Closed
codehag opened this issue Jan 10, 2018 · 1 comment
Closed

[Stepping] Debugger occasionally switches to line with large number #5069

codehag opened this issue Jan 10, 2018 · 1 comment

Comments

@codehag
Copy link
Contributor

codehag commented Jan 10, 2018

Bugzilla related bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1326834

Todo: confirm if this is still happening

STR_1:

  1. Open attached "testcase 1"
  2. Open debugger, set breakpoint in script at line 2
  3. Click on the page content
  4. Click "Step In" in debugger

AR: Debugger switches to line "/* we need a miracle */"
More generally, it scrolls current script to the very end, as it tries to go to line 3857049061

ER: Debugger should swith to line with "if" or to line with closing bracket of current function

Note:
It's not clear what component it is. Is it possible that JS engine reports something wrong that
confuses debugger? Or probably debugger itself should be updated to handle this properly.
I can't possibly know, because I don't do the development.

This is regression from bug 1261826. Regression range:

https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=a7f37ab1e0c3bcd5f43bcadf1b8e6a69abf86f17&tochange=2e29695fee8730d8dae52960dc98ff7ade38aacb

@claim claim bot added the not-available label Jan 10, 2018
@jasonLaster jasonLaster changed the title Debugger occasionally switches to line with large number when I step out of specific function [Stepping] Debugger occasionally switches to line with large number when I step out of specific function Jan 10, 2018
@codehag codehag changed the title [Stepping] Debugger occasionally switches to line with large number when I step out of specific function [stepping] Debugger occasionally switches to line with large number Jan 10, 2018
@lukaszsobek lukaszsobek changed the title [stepping] Debugger occasionally switches to line with large number [Stepping] Debugger occasionally switches to line with large number Jan 12, 2018
@jasonLaster
Copy link
Contributor

Closing as I could not reproduce it:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants