I basically want to save state of some object to restore it later, these objects are not attached to the DOM and are not html elements, just objects in Javascript. I am not interested in a debugger/visualization tool.
But I need the actual code of the custom event listeners that are also attached to the object.
These event listeners were attached via jQuery and the functions were anonymous and provided by the user.
Is there anyway to accomplish this?