Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

148
Vistas
click breakpoint doesn't pause in the first line of the function definition

While I'm learning how to debug JavaScript using the Sources panel from Chrome Developers

I noticed in both the video and the article that when they go to Event Listener Breakpoints > Mouse then check the click breakpoint.

the DevTools paused on the first line of the function definition when they clicked the button

function onClick() {

Sources panel paused in the first line of the function definition

However, when I did the same on the same demo either in the default or incognito mode, the DevTools paused on the second line of the function definition

  if (inputsAreEmpty()) {

Sources panel paused on the second line of the function definition

So is this the new behavior of the Mouse Event Listener click breakpoint or is there something that I messed with settings that I have to change?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda