Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8243221
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T21:26:28+00:00 2026-06-07T21:26:28+00:00

I have a bug where a certain div is having its style.height property being

  • 0

I have a bug where a certain div is having its style.height property being set to 0px by Javascript but I have no idea what code is doing this unwanted setting.

Is there to tell the debugger to halt execution when the inline height property is set or for me to at least have an event fire when this occurs?

The problem is occurring in a thorny inner loop and I don’t want to have to do a manual “binary search” unless I really have to. (Specially since there is a chance that the culprit code could be coming from an event or timeout and that would be harder to pinpoint by hand)

Edit: I also need to be able to do this before the element in question is inserted into the main document. By the time I can do to the elements tab to inspect it the bug has already been triggerred.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T21:26:30+00:00Added an answer on June 7, 2026 at 9:26 pm

    In the Elements tab of Chrome Dev Tools, I believe you can right click on the element and there should be an option to “Break on attribute modification”.

    https://developers.google.com/chrome-developer-tools/docs/scripts-breakpoints#dom

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a strange bug when trying to urlopen a certain page from Wikipedia.
I have been trying to work out the bug on this but can't seem
I have a rather weird problem. Because of a certain PECL bug , I
I have this code and there is a bug in it but I cannot
I have bug with UIImagePickerController which source type is camera. Sometimes after controller appeared,
i have bug that i cannot find, i have Class Point with method who
I have a bug in my .htaccess : RewriteCond %{REQUEST_URI} !^(.*)/modalbox/.* RewriteCond %{HTTP_HOST} !^www\.wiglost\.com$
I have a Bug at my simple REGEX. I have been trying to write
I have a bug I'm struggling to track down. I believe what's happening is
We have a bug in our application that does not occur every time and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.