tl;dr it's painful to inspect things like bootstrap's tooltip [1],
mainly because it triggers on mouseover instead of :hover.
You can actually do it though:
In Firefox:
1. break on mouseover in the debugger
2. trigger the mouseover
3. step forward in the debugger until the mouseover actually appears
4. switch to the inspector
5. in the markup view, find the tooltip markup that has been inserted
into the DOM
Hovering over the node in the markup view will allow you to inspect the
css rules applied to the tooltip content, but you can't use the picker,
probably because the debugger is paused.
In Chrome:
1. there is no mouseover event in 'Event Listeners' list ( just 'click'
in my example ) so instead you right-click on the element's parent and
select 'Break on subtree modification'
2. trigger the mouseover. step forward in the debugger until the
mouseover actually appears
4. switch to the elements pane
5. in the markup view, find the tooltip markup that has been inserted
into the DOM
In chrome too, the picker does not work well when the debugger is broken
- neither tool is really great at this. The tedious parts are stepping
over until the action happens and most importantly fiddling in the
markup view to find the element instead of being able to use the picker
to visually pick it.
I can sort-of see ways to work around this somehow - by knowing which
code gets triggered by the event ( tagStack? ), or by the framework
telling us, or by the framework maybe exposing ways to 'fix' the result
of the mouseover action in place. Curious to know what other people
think. As a developer I'd love to just click something or run some code
that permanently sticks the tooltip open so I can inspect it normally
without getting the debugger involved.
Jeff
[1]
http://getbootstrap.com/javascript/#tooltips