Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm
Đã lưu trữ

developer tool add breakpoint stops working if page is refreshed while dev tools are open

Ali A. đã trả lời
Ali A.

Hi, I have this problem, in dev tools debugger, the I am unable to add a breakpoint to javascript code . through trial and error I have found if I refresh the page while devtools are open and after page loading I try to add breakpoint to any javascript file or in page javascript. it does not work. break point is "not" added neither by clicking on edge nor by the right click menu.

but if i close the dev tools and then refresh page and then open dev tools and add break point same as above. It works and breakpoint is added.

I have tried it in safe mode too. its the same.

Hi, I have this problem, in dev tools debugger, the I am unable to add a breakpoint to javascript code . through trial and error I have found if I refresh the page while devtools are open and after page loading I try to add breakpoint to any javascript file or in page javascript. it does not work. break point is "not" added neither by clicking on edge nor by the right click menu. but if i close the dev tools and then refresh page and then open dev tools and add break point same as above. It works and breakpoint is added. I have tried it in safe mode too. its the same.

Tất cả các câu trả lời (2)

Hi Ali, there is a similar thread going on the DevTools forum, but I think your description is more specific:

https://discourse.mozilla.org/t/cant-set-debugger-breakpoints/33972

I can't tell whether this particular issue has been logged in Bugzilla, the bug tracking system, because there are a large volume of recent results when I search for debugger breakpoint in open bugs:

https://bugzilla.mozilla.org/buglist.cgi?quicksearch=debugger+breakpoint

Do you want to follow up on Discourse or file a new bug?

jscher2000 said

Hi Ali, there is a similar thread going on the DevTools forum, but I think your description is more specific: https://discourse.mozilla.org/t/cant-set-debugger-breakpoints/33972 I can't tell whether this particular issue has been logged in Bugzilla, the bug tracking system, because there are a large volume of recent results when I search for debugger breakpoint in open bugs: https://bugzilla.mozilla.org/buglist.cgi?quicksearch=debugger+breakpoint Do you want to follow up on Discourse or file a new bug?

Thank you .


I have added my find / workaround fix to the following bug : https://bugzilla.mozilla.org/show_bug.cgi?id=1558771

also added to the discord

Được chỉnh sửa bởi Ali A. vào