搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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

  • 2 回覆
  • 1 有這個問題
  • 23 次檢視
  • 最近回覆由 Ali A.

more options

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.

所有回覆 (2)

more options

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?

more options

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

由 Ali A. 於 修改