Skip to content

Instantly share code, notes, and snippets.

@coodoo
Created March 27, 2013 04:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coodoo/5251585 to your computer and use it in GitHub Desktop.
Save coodoo/5251585 to your computer and use it in GitHub Desktop.
Weird behavior in chrome's dev tool console
I tried to pause the script, then enter following command in the console:
document.getElementById('foo')
The weird part is, sometimes it will show the object state, but some times it will just show the <div> tag, seems it's the result of toString() ?
Is there a way to always get object state in the console ?
Screen cap here: http://cl.ly/image/0V1a1p3t0e12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment