Why can't I inspect local variables with IntelliTrace for VS 2010?
.net, debugging, intellitrace, visual-studio, visual-studio-2010
Solution
The Intellitrace team covered this a bit in one of their blog entries. Here is the link (it's in the comment section)
- http://blogs.msdn.com/ianhu/archive/2009/11/16/intellitrace-itrace-files.aspx
The short version though is that collecting all local variables was too much of a performance hit. Instead they only selectively capture locals. That is they will collect locals which
- Are evaluated in the debugger during the debugging session
- Values which have trace points defined against them
- Local variables which are specifically configured to be captured (didn't go into detail on how to do that other than setting up a trace point).
Problem
When navigating to previous calls/events during debugging with IntelliTrace, I can't see a snapshot of the value of locally-defined variables. When hovering with the mouse I get the message "Intellitrace data has not been collected". Does anyone know why?