javascript-breakpoint-collection icon indicating copy to clipboard operation
javascript-breakpoint-collection copied to clipboard

Idea: Add a checkbox option to re-apply breakpoints on postbacks/navigation

Open gidztech opened this issue 8 years ago • 1 comments

If you are debugging on a web site that is not an SPA, the breakpoints are lost on page postbacks and navigation. It would be good if there was a checkbox option in the Breakpoints UI that would re-apply the breakpoints on the new new page. Presumably this is possible since the Event Listener Breakpoints do this.

gidztech avatar Apr 25 '16 14:04 gidztech

That sounds useful. I've thought about adding this. My only concern is that it might be confusing with breakpoints that were created from the console, because they have access to objects that we can't automatically reference after a page reload.

It's a bit tricky to do right (e.g. storing the data in the extension rather than on the page), so I'll leave it for now and see how things develop.

mattzeunert avatar Apr 25 '16 19:04 mattzeunert