Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

151
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda