Unable to enable Intellitrace
-
Thursday, February 23, 2012 6:00 AM
I've run into a problem that whenever I start debugging a project with intellitrace enabled, I do not get any logging, just a warning that 'Intellitrace is not collecting data for this debugging session'. Along with that I get the following event in the event log.
Application: IntelliTrace.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.TypeInitializationException
Stack:
at Microsoft.VisualStudio.Diagnostics.Logging.LoggerEngine.Run()
at Microsoft.VisualStudio.IntelliTrace.TraceLogger.<StartThread>b__11()
at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()The machine is Windows 7 Ent SP1 x64, Visual Studio Ultimate 2010 SP1, the project I'm testing with is a x86 console app, framework version V4. There are several addins installed, ANTS reSharper reflector, but they are at the same versions as working machines. The problem is still there if you run devenv /safemode.
I've tried this on several different project types, web etc, all with the same effect.
I've checked the settings inside VS with a working machine and they look the same.
I would just wipe the machine and re-install, but all machines coming from our deployment image have the same problem, and I'd lke to avoid rebuilding that!
So, anyone got any ideas, I'm out of them and google-fu has let me down on this image.
Cheers,
Stephen.
- Edited by Stephen Woolhead GTL Thursday, February 23, 2012 6:02 AM
All Replies
-
Friday, February 24, 2012 8:41 AMModerator
Commonly, the exception will be caused by the target application process is not x86, but you said it is x86 Console Application.
Can you try to ensure it is a x86 one through the Task Manager(the process is x86 if there's a "*" ending with the process name in x64 System)?
How about use the Command Line way to run the IntelliTrace tool to collect the data for your debugging work?
If this also give you the error message, do it shows the same as you post in your above post? If not, please share us a screenshot and one copy of the error information.
If you also cannot find the way to solve it, then besides to share us the above information, please also try to dump the memory for your IntelliTrace and zip, share it through "skydrive":
http://vinaytechs.blogspot.com/2010/01/how-to-get-crash-or-hang-dump.html
Please also ensure that you have not checked the "Enable Sql Server Debugging" in Debug tab.
Mike Zhang[MSFT]
MSDN Community Support | Feedback to us
- Edited by Mike Dos ZhangMicrosoft Contingent Staff, Moderator Friday, February 24, 2012 8:43 AM
-
Tuesday, February 28, 2012 12:05 PMModeratorI am writing to check the status of the issue on your side.
What about this problem now?
Would you mind letting us know the result of the suggestions?Mike Zhang[MSFT]
MSDN Community Support | Feedback to us
-
Tuesday, February 28, 2012 12:08 PM
Thanks for the followup. In the end we rebuilt our main deloyment image and the problem has gone away. We did try a repair of Visual studio, and while that fixed the the IntelliTrace issue, we could no longer open projects wth RDL files so at that point we decided to start again.
Cheers,
Stephen.
- Proposed As Answer by Mike Dos ZhangMicrosoft Contingent Staff, Moderator Wednesday, February 29, 2012 11:22 AM
- Marked As Answer by Mike Dos ZhangMicrosoft Contingent Staff, Moderator Wednesday, March 07, 2012 10:42 AM
-
Wednesday, February 29, 2012 11:22 AMModeratorSo the problem is solved, and we can close this case?
Mike Zhang[MSFT]
MSDN Community Support | Feedback to us

