break-on-access icon indicating copy to clipboard operation
break-on-access copied to clipboard

"breakOn is not defined" after the snippet is run during a breakpoint

Open page200 opened this issue 3 years ago • 0 comments

If, while the debugger is paused at a breakpoint, I decide to use breakOn() and run the snippet that defines it, then I get "breakOn is not defined" when I try to use it.

It seems that the first line should be

breakOn = function(obj, propertyName, mode, func) {

instead of

function breakOn(obj, propertyName, mode, func) {

See this thread and its old long version.

page200 avatar Jul 31 '21 15:07 page200