You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have set a breakpoint at a location in my javascript and while dev tools has paused on that breakpoint I want to diff two objects, which dev tools is showing me. But console.diff(.., ..) is not showing anything in the JSDiff panel when I am on a breakpoint, it seems.
Is this even possible?
The text was updated successfully, but these errors were encountered:
It's not possible to see diff results while paused cause it's the same "top window context" [that is paused] responsible to window.postMessage the arguments to background page of extension. src/js/jsdiff-devtools.js@96.
I'm not aware of other methods.
Howether there are workarounds:
embed console.diff?.(arg1, arg2); into your application, for the timespan of development, then put debugger; after that, to give time to observe the result. Or if code-place allows manual triggering - probably diffPush function would be more handy in that case.
last resort - while paused, use "Store object as global variable" from context menu like temp1, temp2, etc... Then, after pause, evaluate console.diff(temp1, temp2) on them.
Hi,
I have set a breakpoint at a location in my javascript and while dev tools has paused on that breakpoint I want to diff two objects, which dev tools is showing me. But console.diff(.., ..) is not showing anything in the JSDiff panel when I am on a breakpoint, it seems.
Is this even possible?
The text was updated successfully, but these errors were encountered: