Skip to main content

All Questions

-3 votes
1 answer
56 views

In FireFox's debugger, how do I break at the first line of JavaScript that an addon runs?

In FireFox's debugger, how do I break at the first line of JavaScript that an addon runs? I need to break at the entry-point, but I don't know what the entry-point is.
Geremia's user avatar
  • 5,749
0 votes
1 answer
96 views

JavaScript Breakpoints Disappear or Unable to set in SPA (ReactJS + C# WebAPI) - Visual Studio 2022

I'm encountering difficulties with setting and using breakpoints in JavaScript within Visual Studio 2022 in a Single Page Application (SPA) project that uses ReactJS for the frontend and C# WebAPI for ...
Maksim Rudnev's user avatar
0 votes
1 answer
160 views

Why when breakpoint is present in my solution, the browser launched by the Javascript Debugger never actually resolve the page? [duplicate]

I found many post where breakpoint are not being it, but that is not the problem, the page simply never load. In the network tab, it says the initial request is pending and never complete. If I open ...
Kadgiko's user avatar
  • 355
0 votes
0 answers
20 views

Pause script execution on window reload [duplicate]

I need to pause script execution in Chrome devtools as soon as possible, more specifically at the moment when no scripts are evaluated yet, or when head scripts are evaluated but body scripts are not. ...
Estus Flask's user avatar
0 votes
2 answers
2k views

How to run debug in VS Code so that it would launch Chrome in debug mode with paused .js scripts on HTML page?

Summary: I got VS Code. I got empty HTML template file in which i learn how to write js scripts. VS Code has debugger, which can launch my file in Chrome for debugging (theoretically). I set up ...
Евгений's user avatar
0 votes
1 answer
338 views

Breakpoint Debugging forEach - JS

I'm trying to return the length of the last word in a string, I am struggling with debugging at the moment. The problem is with the forEach loop I hit a breakpoint that wont update the empty array. ...
McKay Anhder's user avatar
1 vote
1 answer
2k views

Via Chrome devtools, how can I tell what element is actively scrolling?

Long story short, Vue requires some trickery when debugging height and @scroll issues within componenets. The best call of action is to find what element is scrolling and move the scroll to the child, ...
T.Woody's user avatar
  • 1,238
2 votes
1 answer
728 views

How it is possible? Javascript variable not defined at Chrome console

It is a strange behavior, when debug is on and the breakpoint is set the evaluated tool when I rollover the mouse the variable value appear, but when I call the same variable in console, the message ...
user2994168's user avatar
2 votes
1 answer
1k views

Debugging javascript: breakpoint when the URL silently changes ( single page website )

I m debugging a single page website , and when i go to website.com/path the url in nav bar changes silently to website.com/otherpath ( without any HTTP request being made up on that change ) , i ...
hakim's user avatar
  • 53
1 vote
0 answers
253 views

Stop at beginning of JavaScript code in Firefox

When I first load a page in the Firefox debugger, no source files are shown, so it is not possible to set breakpoints until an error occurs (I don't want to have to insert "debugger;"). Is ...
David Spector's user avatar
0 votes
0 answers
42 views

Can chrome step over lines?

Consider this code debugger; const {a,b,c,d,e}={a:3,b:4,c:5,d:6,e:7}; const assignmentOfInterest=myfunc(); const {a2,b2,c2,d2,e2}={a2:3,b2:4,c2:5,d2:6,e2:7}; const assignmentOfInterest2=myfunc(); ...
cdbeelala89's user avatar
  • 2,146
0 votes
0 answers
743 views

Get rid of [dynamic] JavaScript views debugged automatically in Visual Studio

It started some time ago, since that day when I click 'Start Debugging' button in Visual Studio, project opens only after hitting 2 breakpoints in dynamically generated Javascript files. Everytime I ...
kgzdev's user avatar
  • 2,899
20 votes
1 answer
6k views

How to deal with the overlay Paused in debugger while automated test execution using Selenium

Everytime I try to access this website and open google-chrome-devtools I am unable to inspect any of the elements through the Inspector as the UI is having an overlay along with a message Paused in ...
undetected Selenium's user avatar
0 votes
0 answers
884 views

Break on access to window.location object

I am looking for a way to break on execution of javascript code, in a debugger, whenever the website accesses properties of the window.location object. I want to find where in loaded scripts, a ...
blackd0t's user avatar
  • 439
0 votes
1 answer
216 views

Possible to pause debugger immediately after onclick event?

I am trying to fix a bug in someone else's code. The program has the following dynamically created onclick event: function onclick(event) { javascript:initpage(164725) } This code only exists when ...
Joe Joe Joe's user avatar

15 30 50 per page
1
2 3 4 5